Class: Courier::Resources::Users
- Inherits:
-
Object
- Object
- Courier::Resources::Users
- Defined in:
- lib/courier/resources/users.rb,
lib/courier/resources/users/tokens.rb,
lib/courier/resources/users/tenants.rb,
lib/courier/resources/users/preferences.rb
Defined Under Namespace
Classes: Preferences, Tenants, Tokens
Instance Attribute Summary collapse
- #preferences ⇒ Courier::Resources::Users::Preferences readonly
- #tenants ⇒ Courier::Resources::Users::Tenants readonly
- #tokens ⇒ Courier::Resources::Users::Tokens readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ Users
constructor
private
A new instance of Users.
Constructor Details
#initialize(client:) ⇒ Users
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Users.
18 19 20 21 22 23 |
# File 'lib/courier/resources/users.rb', line 18 def initialize(client:) @client = client @preferences = Courier::Resources::Users::Preferences.new(client: client) @tenants = Courier::Resources::Users::Tenants.new(client: client) @tokens = Courier::Resources::Users::Tokens.new(client: client) end |
Instance Attribute Details
#preferences ⇒ Courier::Resources::Users::Preferences (readonly)
7 8 9 |
# File 'lib/courier/resources/users.rb', line 7 def preferences @preferences end |
#tenants ⇒ Courier::Resources::Users::Tenants (readonly)
10 11 12 |
# File 'lib/courier/resources/users.rb', line 10 def tenants @tenants end |
#tokens ⇒ Courier::Resources::Users::Tokens (readonly)
13 14 15 |
# File 'lib/courier/resources/users.rb', line 13 def tokens @tokens end |