Class: APISmith::Base

Inherits:
Object
  • Object
show all
Includes:
Client
Defined in:
lib/api_smith/base.rb

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.

Author:

  • Darcy Laycock

  • Steve Webb

Instance Method Summary collapse

Methods included from Client

included

Constructor Details

#initializeBase

Returns a new instance of Base.


15
16
# File 'lib/api_smith/base.rb', line 15

def initialize(*)
end