Class: Clickmeetings::Open::Registration
- Includes:
- WithConference
- Defined in:
- lib/clickmeetings/models/open/registration.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#email ⇒ Object
Returns the value of attribute email.
-
#fields ⇒ Object
Returns the value of attribute fields.
-
#http_referer ⇒ Object
Returns the value of attribute http_referer.
-
#r ⇒ Object
Returns the value of attribute r.
-
#registration_confirmed ⇒ Object
Returns the value of attribute registration_confirmed.
-
#registration_date ⇒ Object
Returns the value of attribute registration_date.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#url ⇒ Object
Returns the value of attribute url.
-
#visitor_nickname ⇒ Object
Returns the value of attribute visitor_nickname.
Attributes inherited from Model
Class Method Summary collapse
Methods included from WithConference
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
#city ⇒ Object
Returns the value of attribute city.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def country @country end |
#email ⇒ Object
Returns the value of attribute email.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def email @email end |
#fields ⇒ Object
Returns the value of attribute fields.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def fields @fields end |
#http_referer ⇒ Object
Returns the value of attribute http_referer.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def http_referer @http_referer end |
#r ⇒ Object
Returns the value of attribute r.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def r @r end |
#registration_confirmed ⇒ Object
Returns the value of attribute registration_confirmed.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def registration_confirmed @registration_confirmed end |
#registration_date ⇒ Object
Returns the value of attribute registration_date.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def registration_date @registration_date end |
#session_id ⇒ Object
Returns the value of attribute session_id.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def session_id @session_id end |
#url ⇒ Object
Returns the value of attribute url.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def url @url end |
#visitor_nickname ⇒ Object
Returns the value of attribute visitor_nickname.
6 7 8 |
# File 'lib/clickmeetings/models/open/registration.rb', line 6 def visitor_nickname @visitor_nickname end |
Class Method Details
.create(params = {}) ⇒ Object
14 15 16 |
# File 'lib/clickmeetings/models/open/registration.rb', line 14 def create(params = {}) Conference.new(id: conference_id).register(params) end |
.for_session(session_id: nil) ⇒ Object
10 11 12 |
# File 'lib/clickmeetings/models/open/registration.rb', line 10 def for_session(session_id: nil) Session.by_conference(conference_id: conference_id).new(id: session_id).registrations end |