Class: Courier::Users::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/trycourier/users/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request_client:) ⇒ Users::Client

Parameters:



15
16
17
18
19
# File 'lib/trycourier/users/client.rb', line 15

def initialize(request_client:)
  @preferences = Users::PreferencesClient.new(request_client: request_client)
  @tenants = Users::TenantsClient.new(request_client: request_client)
  @tokens = Users::TokensClient.new(request_client: request_client)
end

Instance Attribute Details

#preferencesObject (readonly)

Returns the value of attribute preferences.



11
12
13
# File 'lib/trycourier/users/client.rb', line 11

def preferences
  @preferences
end

#tenantsObject (readonly)

Returns the value of attribute tenants.



11
12
13
# File 'lib/trycourier/users/client.rb', line 11

def tenants
  @tenants
end

#tokensObject (readonly)

Returns the value of attribute tokens.



11
12
13
# File 'lib/trycourier/users/client.rb', line 11

def tokens
  @tokens
end