Class: ConstantContact::Components::EventSpot::OnlineMeeting
- Defined in:
- lib/constantcontact/components/event_spot/online_meeting.rb
Instance Attribute Summary collapse
-
#instructions ⇒ Object
Returns the value of attribute instructions.
-
#provider_meeting_id ⇒ Object
Returns the value of attribute provider_meeting_id.
-
#provider_type ⇒ Object
Returns the value of attribute provider_type.
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
-
.create(props) ⇒ OnlineMeeting
Factory method to create an OnlineMeeting object from a json string.
Methods inherited from Component
#to_hash, to_hash_value, #to_json
Instance Attribute Details
#instructions ⇒ Object
Returns the value of attribute instructions
11 12 13 |
# File 'lib/constantcontact/components/event_spot/online_meeting.rb', line 11 def instructions @instructions end |
#provider_meeting_id ⇒ Object
Returns the value of attribute provider_meeting_id
11 12 13 |
# File 'lib/constantcontact/components/event_spot/online_meeting.rb', line 11 def provider_meeting_id @provider_meeting_id end |
#provider_type ⇒ Object
Returns the value of attribute provider_type
11 12 13 |
# File 'lib/constantcontact/components/event_spot/online_meeting.rb', line 11 def provider_type @provider_type end |
#url ⇒ Object
Returns the value of attribute url
11 12 13 |
# File 'lib/constantcontact/components/event_spot/online_meeting.rb', line 11 def url @url end |
Class Method Details
.create(props) ⇒ OnlineMeeting
Factory method to create an OnlineMeeting object from a json string
16 17 18 19 20 21 22 23 24 |
# File 'lib/constantcontact/components/event_spot/online_meeting.rb', line 16 def self.create(props) obj = OnlineMeeting.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end |