Class: Webex::Meeting::Action
- Inherits:
-
Object
- Object
- Webex::Meeting::Action
- Includes:
- Webex
- Defined in:
- lib/webex/meeting/action.rb
Overview
comment
Constant Summary
Constants included from Webex
Instance Attribute Summary collapse
-
#app_handle ⇒ Object
Returns the value of attribute app_handle.
-
#attendee_mail ⇒ Object
Returns the value of attribute attendee_mail.
-
#attendee_name ⇒ Object
Returns the value of attribute attendee_name.
-
#back_url ⇒ Object
Returns the value of attribute back_url.
-
#cancel_mail ⇒ Object
Returns the value of attribute cancel_mail.
-
#document_location ⇒ Object
Returns the value of attribute document_location.
-
#location ⇒ Object
Returns the value of attribute location.
-
#meeting_key ⇒ Object
Returns the value of attribute meeting_key.
-
#parameter ⇒ Object
Returns the value of attribute parameter.
-
#password ⇒ Object
Returns the value of attribute password.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#registration_id ⇒ Object
Returns the value of attribute registration_id.
-
#start_feature ⇒ Object
Returns the value of attribute start_feature.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
- #delete ⇒ Object
- #host ⇒ Object
-
#initialize(attributes = {}) ⇒ Action
constructor
A new instance of Action.
- #join ⇒ Object
- #list_meetings ⇒ Object
- #list_open_meetings ⇒ Object
- #schedule ⇒ Object
Methods included from Webex
#env_attributes!, #option_required!
Constructor Details
#initialize(attributes = {}) ⇒ Action
Returns a new instance of Action.
9 10 11 12 13 |
# File 'lib/webex/meeting/action.rb', line 9 def initialize(attributes = {}) attributes.each { |k, v| send("#{k}=", v) } env_attributes! option_required! :back_url end |
Instance Attribute Details
#app_handle ⇒ Object
Returns the value of attribute app_handle.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def app_handle @app_handle end |
#attendee_mail ⇒ Object
Returns the value of attribute attendee_mail.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def attendee_mail @attendee_mail end |
#attendee_name ⇒ Object
Returns the value of attribute attendee_name.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def attendee_name @attendee_name end |
#back_url ⇒ Object
Returns the value of attribute back_url.
6 7 8 |
# File 'lib/webex/meeting/action.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/action.rb', line 6 def cancel_mail @cancel_mail end |
#document_location ⇒ Object
Returns the value of attribute document_location.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def document_location @document_location end |
#location ⇒ Object
Returns the value of attribute location.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def location @location end |
#meeting_key ⇒ Object
Returns the value of attribute meeting_key.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def meeting_key @meeting_key end |
#parameter ⇒ Object
Returns the value of attribute parameter.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def parameter @parameter end |
#password ⇒ Object
Returns the value of attribute password.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def password @password end |
#phone ⇒ Object
Returns the value of attribute phone.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def phone @phone end |
#registration_id ⇒ Object
Returns the value of attribute registration_id.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def registration_id @registration_id end |
#start_feature ⇒ Object
Returns the value of attribute start_feature.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def start_feature @start_feature end |
#url ⇒ Object
Returns the value of attribute url.
6 7 8 |
# File 'lib/webex/meeting/action.rb', line 6 def url @url end |
Instance Method Details
#delete ⇒ Object
15 16 17 18 19 |
# File 'lib/webex/meeting/action.rb', line 15 def delete option_required! :meeting_key { params: generate_params(api_type: 'DM'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |
#host ⇒ Object
21 22 23 24 25 |
# File 'lib/webex/meeting/action.rb', line 21 def host option_required! :meeting_key { params: generate_params(api_type: 'HM'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |
#join ⇒ Object
27 28 29 30 31 |
# File 'lib/webex/meeting/action.rb', line 27 def join option_required! :meeting_key { params: generate_params(api_type: 'JM'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |
#list_meetings ⇒ Object
33 34 35 36 |
# File 'lib/webex/meeting/action.rb', line 33 def list_meetings { params: generate_params(api_type: 'LM'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |
#list_open_meetings ⇒ Object
38 39 40 41 |
# File 'lib/webex/meeting/action.rb', line 38 def list_open_meetings { params: generate_params(api_type: 'OM'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |
#schedule ⇒ Object
43 44 45 46 |
# File 'lib/webex/meeting/action.rb', line 43 def schedule { params: generate_params(api_type: 'SM'), url: URI.join(CONFIGURATION.host_url + PATH_URL) } end |