Class: Courier::Users::Client
- Inherits:
-
Object
- Object
- Courier::Users::Client
- Defined in:
- lib/trycourier/users/client.rb
Instance Attribute Summary collapse
-
#preferences ⇒ Object
readonly
Returns the value of attribute preferences.
-
#tenants ⇒ Object
readonly
Returns the value of attribute tenants.
-
#tokens ⇒ Object
readonly
Returns the value of attribute tokens.
Instance Method Summary collapse
- #initialize(request_client:) ⇒ Users::Client constructor
Constructor Details
#initialize(request_client:) ⇒ Users::Client
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
#preferences ⇒ Object (readonly)
Returns the value of attribute preferences.
11 12 13 |
# File 'lib/trycourier/users/client.rb', line 11 def preferences @preferences end |
#tenants ⇒ Object (readonly)
Returns the value of attribute tenants.
11 12 13 |
# File 'lib/trycourier/users/client.rb', line 11 def tenants @tenants end |
#tokens ⇒ Object (readonly)
Returns the value of attribute tokens.
11 12 13 |
# File 'lib/trycourier/users/client.rb', line 11 def tokens @tokens end |