Class: Clickmeetings::Open::Contact

Inherits:
Model show all
Defined in:
lib/clickmeetings/models/open/contact.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#id

Class Method Summary collapse

Methods inherited from Model

api_key, client_options, #default_headers, ping, with_account

Methods inherited from Model

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

Instance Attribute Details

#companyObject

Returns the value of attribute company.



4
5
6
# File 'lib/clickmeetings/models/open/contact.rb', line 4

def company
  @company
end

#countryObject

Returns the value of attribute country.



4
5
6
# File 'lib/clickmeetings/models/open/contact.rb', line 4

def country
  @country
end

#emailObject

Returns the value of attribute email.



4
5
6
# File 'lib/clickmeetings/models/open/contact.rb', line 4

def email
  @email
end

#firstnameObject

Returns the value of attribute firstname.



4
5
6
# File 'lib/clickmeetings/models/open/contact.rb', line 4

def firstname
  @firstname
end

#lastnameObject

Returns the value of attribute lastname.



4
5
6
# File 'lib/clickmeetings/models/open/contact.rb', line 4

def lastname
  @lastname
end

#phoneObject

Returns the value of attribute phone.



4
5
6
# File 'lib/clickmeetings/models/open/contact.rb', line 4

def phone
  @phone
end

Class Method Details

.create(params = {}) ⇒ Object



7
8
9
10
# File 'lib/clickmeetings/models/open/contact.rb', line 7

def create(params = {})
  super
  new(params)
end