Class: ConstantContact::Components::EventSpot::OnlineMeeting

Inherits:
Component
  • Object
show all
Defined in:
lib/constantcontact/components/event_spot/online_meeting.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Component

#to_hash, to_hash_value, #to_json

Instance Attribute Details

#instructionsObject

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_idObject

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_typeObject

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

#urlObject

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

Parameters:

  • props (Hash)
    • properties to create object from

Returns:



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