Class: Webex::Meeting::Attendee
- Inherits:
-
Object
- Object
- Webex::Meeting::Attendee
- Includes:
- Webex
- Defined in:
- lib/webex/meeting/attendee.rb
Overview
comment
Constant Summary
Constants included from Webex
Instance Attribute Summary collapse
-
#attendees ⇒ Object
Returns the value of attribute attendees.
-
#back_url ⇒ Object
Returns the value of attribute back_url.
-
#cancel_mail ⇒ Object
Returns the value of attribute cancel_mail.
-
#email ⇒ Object
Returns the value of attribute email.
-
#invitation ⇒ Object
Returns the value of attribute invitation.
-
#meeting_key ⇒ Object
Returns the value of attribute meeting_key.
Instance Method Summary collapse
- #add ⇒ Object
- #delete ⇒ Object
- #detail ⇒ Object
-
#initialize(attributes = {}) ⇒ Attendee
constructor
attendees: [FullName1, EmailAddress: nil, PhoneCountry: nil, PhoneArea: nil, PhoneLocal: nil, PhoneExt: nil, TimeZone: nil, Language: nil, Locale: nil, AddToAddressBook: nil, FullName1, EmailAddress: nil, PhoneCountry: nil, PhoneArea: nil, PhoneLocal: nil, PhoneExt: nil, TimeZone: nil, Language: nil, Locale: nil, AddToAddressBook: nil, FullName1, EmailAddress: nil, PhoneCountry: nil, PhoneArea: nil, PhoneLocal: nil, PhoneExt: nil, TimeZone: nil, Language: nil, Locale: nil, AddToAddressBook: nil].
Methods included from Webex
#env_attributes!, #option_required!
Constructor Details
#initialize(attributes = {}) ⇒ Attendee
attendees: [FullName1, EmailAddress: nil, PhoneCountry: nil, PhoneArea: nil, PhoneLocal: nil, PhoneExt: nil, TimeZone: nil, Language: nil, Locale: nil, AddToAddressBook: nil,
{FullName: FullName1, EmailAddress: nil, PhoneCountry: nil, PhoneArea: nil, PhoneLocal: nil, PhoneExt: nil, TimeZone: nil, Language: nil, Locale: nil, AddToAddressBook: nil},
{FullName: FullName1, EmailAddress: nil, PhoneCountry: nil, PhoneArea: nil, PhoneLocal: nil, PhoneExt: nil, TimeZone: nil, Language: nil, Locale: nil, AddToAddressBook: nil}]
11 12 13 14 15 |
# File 'lib/webex/meeting/attendee.rb', line 11 def initialize(attributes = {}) attributes.each { |k, v| send("#{k}=", v) } env_attributes! option_required! :back_url, :meeting_key end |
Instance Attribute Details
#attendees ⇒ Object
Returns the value of attribute attendees.
6 7 8 |
# File 'lib/webex/meeting/attendee.rb', line 6 def attendees @attendees end |
#back_url ⇒ Object
Returns the value of attribute back_url.
6 7 8 |
# File 'lib/webex/meeting/attendee.rb', line 6 def back_url @back_url end |
#cancel_mail ⇒ Object
Returns the value of attribute cancel_mail.
6 7 8 |
# File 'lib/webex/meeting/attendee.rb', line 6 def cancel_mail @cancel_mail end |
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/webex/meeting/attendee.rb', line 6 def email @email end |
#invitation ⇒ Object
Returns the value of attribute invitation.
6 7 8 |
# File 'lib/webex/meeting/attendee.rb', line 6 def invitation @invitation end |
#meeting_key ⇒ Object
Returns the value of attribute meeting_key.
6 7 8 |
# File 'lib/webex/meeting/attendee.rb', line 6 def meeting_key @meeting_key end |
Instance Method Details
#add ⇒ Object
17 18 19 20 21 |
# File 'lib/webex/meeting/attendee.rb', line 17 def add option_required! :attendees { params: generate_params(api_type: 'AA'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |
#delete ⇒ Object
23 24 25 26 27 |
# File 'lib/webex/meeting/attendee.rb', line 23 def delete option_required! :email { params: generate_params(api_type: 'DA'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |
#detail ⇒ Object
29 30 31 32 33 |
# File 'lib/webex/meeting/attendee.rb', line 29 def detail option_required! :email { params: generate_params(api_type: 'MD'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |