Class: WindcaveRest::BaseApi

Inherits:
Object
  • Object
show all
Defined in:
lib/windcave_rest/api/base_api.rb

Direct Known Subclasses

SessionsApi, TransactionsApi

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ BaseApi

Returns a new instance of BaseApi.



5
6
7
# File 'lib/windcave_rest/api/base_api.rb', line 5

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



3
4
5
# File 'lib/windcave_rest/api/base_api.rb', line 3

def api_client
  @api_client
end