Class: OpenRecycling::Core::Client
Instance Attribute Summary
Attributes inherited from ModuleClient
#base_url, #jwt_token
Instance Method Summary
collapse
#initialize
Instance Method Details
#invoices ⇒ Object
7
8
9
10
11
12
|
# File 'lib/open_recycling/core/client.rb', line 7
def invoices
@invoices ||= OpenRecycling::Core::Invoices.new(
base_url: module_url,
jwt_token: jwt_token
)
end
|
#recycling_accounts ⇒ Object
14
15
16
17
18
19
|
# File 'lib/open_recycling/core/client.rb', line 14
def recycling_accounts
@recycling_accounts ||= OpenRecycling::Core::RecyclingAccounts.new(
base_url: module_url,
jwt_token: jwt_token
)
end
|