Class: Nova::API::Resource::Bill

Inherits:
Base show all
Defined in:
lib/nova/api/resource/bill.rb

Direct Known Subclasses

Payable, Receivable

Defined Under Namespace

Modules: DOCUMENT_TYPE, DUE_TYPE Classes: Apportionment, FinancialAccount

Constant Summary collapse

ALLOWED_ATTRIBUTES =
[
  :additional_information, :apportionments, :attachments, :company_id, :date, :document_type, :document_number, :due_type, :financial_accounts,
  :first_due_date, :forecast, :identifier, :installments, :installments_number, :third_party_id, :total_value
]

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 Base

base_url, #endpoint

Methods inherited from Utils::BaseStruct

#allowed_attributes

Class Method Details

.endpointObject



65
66
67
# File 'lib/nova/api/resource/bill.rb', line 65

def self.endpoint
  '/api/bills'
end