Class: Webex::Meeting::Action

Inherits:
Object
  • Object
show all
Includes:
Webex
Defined in:
lib/webex/meeting/action.rb

Overview

comment

Constant Summary

Constants included from Webex

CONFIGURATION, VERSION

Instance Attribute Summary collapse

Instance Method Summary collapse

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_handleObject

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_mailObject

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_nameObject

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_urlObject

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_mailObject

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_locationObject

Returns the value of attribute document_location.



6
7
8
# File 'lib/webex/meeting/action.rb', line 6

def document_location
  @document_location
end

#locationObject

Returns the value of attribute location.



6
7
8
# File 'lib/webex/meeting/action.rb', line 6

def location
  @location
end

#meeting_keyObject

Returns the value of attribute meeting_key.



6
7
8
# File 'lib/webex/meeting/action.rb', line 6

def meeting_key
  @meeting_key
end

#parameterObject

Returns the value of attribute parameter.



6
7
8
# File 'lib/webex/meeting/action.rb', line 6

def parameter
  @parameter
end

#passwordObject

Returns the value of attribute password.



6
7
8
# File 'lib/webex/meeting/action.rb', line 6

def password
  @password
end

#phoneObject

Returns the value of attribute phone.



6
7
8
# File 'lib/webex/meeting/action.rb', line 6

def phone
  @phone
end

#registration_idObject

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_featureObject

Returns the value of attribute start_feature.



6
7
8
# File 'lib/webex/meeting/action.rb', line 6

def start_feature
  @start_feature
end

#urlObject

Returns the value of attribute url.



6
7
8
# File 'lib/webex/meeting/action.rb', line 6

def url
  @url
end

Instance Method Details

#deleteObject



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

#hostObject



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

#joinObject



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_meetingsObject



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_meetingsObject



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

#scheduleObject



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