Class: OpenRecycling::Apps::Client

Inherits:
ModuleClient show all
Defined in:
lib/open_recycling/apps/client.rb

Instance Attribute Summary

Attributes inherited from ModuleClient

#base_url, #jwt_token

Instance Method Summary collapse

Methods inherited from ModuleClient

#initialize

Constructor Details

This class inherits a constructor from OpenRecycling::ModuleClient

Instance Method Details

#applicationsObject



7
8
9
10
11
12
# File 'lib/open_recycling/apps/client.rb', line 7

def applications
  @applications ||= OpenRecycling::Org::Applications.new(
    base_url: module_url,
    jwt_token: jwt_token
  )
end

#webhooksObject



14
15
16
17
18
19
# File 'lib/open_recycling/apps/client.rb', line 14

def webhooks
  @webhooks ||= OpenRecycling::Org::Webhooks.new(
    base_url: module_url,
    jwt_token: jwt_token
  )
end