api_struct
api_struct copied to clipboard
API wrapper builder with response serialization
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.6.0 to 2.8.0. Changelog Sourced from addressable's changelog. Addressable 2.8.0 fixes ReDoS vulnerability in Addressable::Template#match no longer replaces + with spaces in queries for non-http(s) schemes fixed...
Hi Missed a shortcut to set HTTP basic authN. Hope it can be useful. Cheers
Timeout
Is there a way of passing a timeout option (open_timeout, read_timeout, write_timeout) to the http methods?
Updates the requirements on [rake](https://github.com/ruby/rake) to permit the latest version. Changelog *Sourced from [rake's changelog](https://github.com/ruby/rake/blob/master/History.rdoc).* > === 13.0.1 > > ==== Bug fixes > > * Fixed bug: Reenabled task...
Fixes #14
Currently if you try to use multiple clients in same entity, entity will define methods only from the latest client. As in: ```ruby class StubClient < ApiStruct::Client def foo #...
Let's assume we have an entity working with two APIs. For example: ```ruby class File < ApiStruct::Entity client_service CdnClient, only: :show client_service RestClient, only: :index attr_entity :size, :url, :uuid, :source...
Let's assume we have an API that returns a list of entities. But list is paginated; so it has several helpful fields, and entity data itself is stored in separate...
@kirillshevch I'm using version `1.0.5`, and there seems to be an issue with serializing related entities - here's a quick and dirty example with the Stripe API: ``` module StripeApi...
I don't see this implemented anywhere, but do you have a way of making certain params required? It would be nice if this could differ for each action, i.e. for...