Module: Nova::API

Defined in:
lib/nova/api.rb,
lib/nova/api/base.rb,
lib/nova/api/version.rb,
lib/nova/api/response.rb,
lib/nova/configuration.rb,
lib/nova/api/list_response.rb,
lib/nova/api/resource/bank.rb,
lib/nova/api/resource/bill.rb,
lib/nova/api/resource/card.rb,
lib/nova/api/resource/cash.rb,
lib/nova/api/resource/company.rb,
lib/nova/api/resource/payable.rb,
lib/nova/api/resource/webhook.rb,
lib/nova/api/utils/base_struct.rb,
lib/nova/api/resource/write_off.rb,
lib/nova/api/search_params/bill.rb,
lib/nova/api/resource/permission.rb,
lib/nova/api/resource/receivable.rb,
lib/nova/api/resource/direct_bill.rb,
lib/nova/api/resource/installment.rb,
lib/nova/api/resource/third_party.rb,
lib/nova/api/resource/apportionment.rb,
lib/nova/api/resource/current_asset.rb,
lib/nova/api/resource/direct_payable.rb,
lib/nova/api/search_params/third_party.rb,
lib/nova/api/resource/direct_receivable.rb,
lib/nova/api/resource/financial_account.rb,
lib/nova/api/search_params/apportionment.rb,
lib/nova/api/search_params/current_asset.rb,
lib/nova/api/resource/apportionment_value.rb,
lib/nova/api/search_params/current_asset_statement.rb,
lib/nova/api/resource/response/current_asset_statement.rb

Defined Under Namespace

Modules: Resource, SearchParams, Utils Classes: Base, Client, Configuration, EndpointNotConfiguredError, Error, ListResponse, MissingIdError, MissingSubdomainError, Response

Constant Summary collapse

VERSION =
'1.4.7'

Class Method Summary collapse

Class Method Details

.configurationObject



51
52
53
# File 'lib/nova/api.rb', line 51

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



55
56
57
# File 'lib/nova/api.rb', line 55

def configure
  yield(configuration)
end