Class: Clickmeetings::PrivateLabel::Profile

Inherits:
Model
  • Object
show all
Defined in:
lib/clickmeetings/models/privatelabel/profile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

client_options, #default_params

Methods inherited from Model

#action_path, all, #client, client_options, create, #default_headers, #default_params, #destroy, find, #handle_response, #remote_path, #remote_url, set_resource_name, #update

Instance Attribute Details

#account_manager_emailObject

Returns the value of attribute account_manager_email.



4
5
6
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 4

def 
  @account_manager_email
end

#account_manager_nameObject

Returns the value of attribute account_manager_name.



4
5
6
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 4

def 
  @account_manager_name
end

#account_manager_phoneObject

Returns the value of attribute account_manager_phone.



4
5
6
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 4

def 
  @account_manager_phone
end

#emailObject

Returns the value of attribute email.



4
5
6
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 4

def email
  @email
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 4

def id
  @id
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 4

def name
  @name
end

#packagesObject

Returns the value of attribute packages.



4
5
6
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 4

def packages
  @packages
end

#phoneObject

Returns the value of attribute phone.



4
5
6
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 4

def phone
  @phone
end

Instance Method Details

#getObject



12
13
14
15
16
17
# File 'lib/clickmeetings/models/privatelabel/profile.rb', line 12

def get
  response = Clickmeetings.with_client(client_options) do
    Clickmeetings.client.get 'client', default_params, default_headers
  end
  handle_response response
end