spyke icon indicating copy to clipboard operation
spyke copied to clipboard

Interact with REST services in an ActiveRecord-like manner

Results 15 spyke issues
Sort by recently updated
recently updated
newest added

It seems that the association only adds the parameter of the parent (and not all ancestors), see [lib/spyke/associations/has_many.rb#L7](https://github.com/balvig/spyke/blob/v5.1.0/lib/spyke/associations/has_many.rb#L7). As a result, when going through two relations, the URL cannot be...

My case: Result return "" for #errors when DELETE method responded with no body(204 status). Problem HashWithIndifferentAccess.new pass first argument to Hash.new that recognize it as default value for all...

Uses a connection pool around faraday clients instead of assuming the faraday connection is shareable arbitrarily across threads (it most likely isn't). If a connection is assigned directly, this gets...

Hello, I just encountered an issue where my API returns errors for an associated object. Let's say I have a User model, and a User has-many UserRoles. The errors json...

When you do a **where** query with the primary key in it uses does a **find**. It should be possible to do for example: `Recipe.where(id: [1,2], title: 'foo')` but now...

Hi there, I'm curious if you'd be open to a PR introducing a configuration option to make the `uri: nil` option on associations the default. I much prefer the `uri:...

Hi there, I'm curious if you'd be open to a PR (or possibly a few PRs) to add a suite of bang methods like `#save!`, `.create!`. These methods would provide...

Find out what it is and set it in the gemspec! Due to the addressable [version constraint](https://rubygems.org/gems/addressable/versions/2.5.2) it is at least Ruby >= 2. The oldest least hassle version of...

Spyke expects data in the form of ```ruby { data: { id: 1, attributes: { name: "xy", hero: { #

I'd love to get insight from someone familiar with this library on how it compares to [ActiveResource](https://github.com/rails/activeresource), which has been a standard part of Rails since at least [Rails 3](https://api.rubyonrails.org/v3.2.1/classes/ActiveResource/Base.html)....