Class: PlatformAPI::EnterpriseAccountMember

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

Enterprise account members are users with access to an enterprise account.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ EnterpriseAccountMember

Returns a new instance of EnterpriseAccountMember.



2611
2612
2613
# File 'lib/platform-api/client.rb', line 2611

def initialize(client)
  @client = client
end

Instance Method Details

#create(enterprise_account_id_or_enterprise_account_name, body = {}) ⇒ Object



2637
2638
2639
# File 'lib/platform-api/client.rb', line 2637

def create(, body = {})
  @client..create(, body)
end

#delete(enterprise_account_id_or_enterprise_account_name, account_email_or_account_id) ⇒ Object



2667
2668
2669
# File 'lib/platform-api/client.rb', line 2667

def delete(, )
  @client..delete(, )
end

#list(enterprise_account_id_or_enterprise_account_name) ⇒ Object



2623
2624
2625
# File 'lib/platform-api/client.rb', line 2623

def list()
  @client..list()
end

#update(enterprise_account_id_or_enterprise_account_name, account_email_or_account_id, body = {}) ⇒ Object



2653
2654
2655
# File 'lib/platform-api/client.rb', line 2653

def update(, , body = {})
  @client..update(, , body)
end