Class: Courier::Resources::Tenants::Preferences

Inherits:
Object
  • Object
show all
Defined in:
lib/courier/resources/tenants/preferences.rb,
lib/courier/resources/tenants/preferences/items.rb,
sig/courier/resources/tenants/preferences.rbs,
sig/courier/resources/tenants/preferences/items.rbs

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:



15
16
17
18
# File 'lib/courier/resources/tenants/preferences.rb', line 15

def initialize(client:)
  @client = client
  @items = Courier::Resources::Tenants::Preferences::Items.new(client: client)
end

Instance Attribute Details

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

Manage tenants — the organizations, teams, or accounts your users belong to — along with their users and default preferences.



10
11
12
# File 'lib/courier/resources/tenants/preferences.rb', line 10

def items
  @items
end