Class: Webex::Meeting::Presenter
- Inherits:
-
Object
- Object
- Webex::Meeting::Presenter
- Includes:
- Webex
- Defined in:
- lib/webex/meeting/presenter.rb
Overview
comment
Constant Summary
Constants included from Webex
Instance Attribute Summary collapse
-
#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.
-
#full_name ⇒ Object
Returns the value of attribute full_name.
-
#invitation ⇒ Object
Returns the value of attribute invitation.
-
#meeting_key ⇒ Object
Returns the value of attribute meeting_key.
-
#phones ⇒ Object
Returns the value of attribute phones.
Instance Method Summary collapse
- #add ⇒ Object
- #delete ⇒ Object
-
#initialize(attributes = {}) ⇒ Presenter
constructor
phones = nil, PhoneArea: nil, PhoneNumber: nil, PhoneExt: nil.
Methods included from Webex
#env_attributes!, #option_required!
Constructor Details
#initialize(attributes = {}) ⇒ Presenter
phones = nil, PhoneArea: nil, PhoneNumber: nil, PhoneExt: nil
10 11 12 13 14 |
# File 'lib/webex/meeting/presenter.rb', line 10 def initialize(attributes = {}) attributes.each { |k, v| send("#{k}=", v) } env_attributes! option_required! :back_url end |
Instance Attribute Details
#back_url ⇒ Object
Returns the value of attribute back_url.
6 7 8 |
# File 'lib/webex/meeting/presenter.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/presenter.rb', line 6 def cancel_mail @cancel_mail end |
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/webex/meeting/presenter.rb', line 6 def email @email end |
#full_name ⇒ Object
Returns the value of attribute full_name.
6 7 8 |
# File 'lib/webex/meeting/presenter.rb', line 6 def full_name @full_name end |
#invitation ⇒ Object
Returns the value of attribute invitation.
6 7 8 |
# File 'lib/webex/meeting/presenter.rb', line 6 def invitation @invitation end |
#meeting_key ⇒ Object
Returns the value of attribute meeting_key.
6 7 8 |
# File 'lib/webex/meeting/presenter.rb', line 6 def meeting_key @meeting_key end |
#phones ⇒ Object
Returns the value of attribute phones.
6 7 8 |
# File 'lib/webex/meeting/presenter.rb', line 6 def phones @phones end |
Instance Method Details
#add ⇒ Object
16 17 18 19 20 |
# File 'lib/webex/meeting/presenter.rb', line 16 def add option_required! :full_name { params: generate_params(api_type: 'AP'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |
#delete ⇒ Object
22 23 24 25 |
# File 'lib/webex/meeting/presenter.rb', line 22 def delete { params: generate_params(api_type: 'DP'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |