Class: Nova::API::Resource::Cash

Inherits:
CurrentAsset show all
Defined in:
lib/nova/api/resource/cash.rb

Constant Summary collapse

ALLOWED_ATTRIBUTES =
%i[]

Constants inherited from Base

Base::PRODUCTION_HOST, Base::SCHEME, Base::STAGING_HOST

Constants inherited from Utils::BaseStruct

Utils::BaseStruct::DATE_REGEX

Class Method Summary collapse

Methods inherited from CurrentAsset

#endpoint, #statement, statement

Methods inherited from Base

base_url, #endpoint

Methods inherited from Utils::BaseStruct

#allowed_attributes

Class Method Details

.endpointObject



9
10
11
# File 'lib/nova/api/resource/cash.rb', line 9

def self.endpoint
  '/api/cashes'
end

.list(parameters = {}) ⇒ Object



13
14
15
# File 'lib/nova/api/resource/cash.rb', line 13

def self.list(parameters = {})
  do_get_search(endpoint, parameters.to_h)
end