Class: Trycourier::Resources::Tenants::Preferences
- Inherits:
-
Object
- Object
- Trycourier::Resources::Tenants::Preferences
- Defined in:
- lib/trycourier/resources/tenants/preferences.rb,
lib/trycourier/resources/tenants/preferences/items.rb
Defined Under Namespace
Classes: Items
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(client:) ⇒ Preferences
constructor
private
A new instance of Preferences.
Constructor Details
#initialize(client:) ⇒ Preferences
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 Preferences.
13 14 15 16 |
# File 'lib/trycourier/resources/tenants/preferences.rb', line 13 def initialize(client:) @client = client @items = Trycourier::Resources::Tenants::Preferences::Items.new(client: client) end |
Instance Attribute Details
#items ⇒ Trycourier::Resources::Tenants::Preferences::Items (readonly)
8 9 10 |
# File 'lib/trycourier/resources/tenants/preferences.rb', line 8 def items @items end |