Class: OpenRecycling::Client
Instance Attribute Summary
Attributes inherited from ModuleClient
#base_url, #jwt_token
Instance Method Summary
collapse
#initialize
Instance Method Details
#apps ⇒ Object
9
10
11
12
13
14
|
# File 'lib/open_recycling/client.rb', line 9
def apps
@apps ||= OpenRecycling::Apps::Client.new(
base_url: base_url,
jwt_token: jwt_token
)
end
|
#core ⇒ Object
23
24
25
26
27
28
|
# File 'lib/open_recycling/client.rb', line 23
def core
@core ||= OpenRecycling::Core::Client.new(
base_url: base_url,
jwt_token: jwt_token
)
end
|
#documents ⇒ Object
30
31
32
33
34
35
|
# File 'lib/open_recycling/client.rb', line 30
def documents
@documents ||= OpenRecycling::Documents::Client.new(
base_url: base_url,
jwt_token: jwt_token
)
end
|
#org ⇒ Object
16
17
18
19
20
21
|
# File 'lib/open_recycling/client.rb', line 16
def org
@org ||= OpenRecycling::Org::Client.new(
base_url: base_url,
jwt_token: jwt_token
)
end
|