Class: APISmith::Base
Overview
A base class for building api clients (with a specified endpoint and general shared options) on top of HTTParty, including response unpacking and transformation.
Used to convert APISmith::Client to a class (versus a mixin), making it useable in certain other situations where it isn’t necessarily useful otherwise.
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Methods included from Client
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
15 16 |
# File 'lib/api_smith/base.rb', line 15 def initialize(*) end |