Class: Trycourier::Resources::Tenants::Preferences

Inherits:
Object
  • Object
show all
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

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.

Parameters:



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

#itemsTrycourier::Resources::Tenants::Preferences::Items (readonly)



8
9
10
# File 'lib/trycourier/resources/tenants/preferences.rb', line 8

def items
  @items
end