Class: ConstantContact::Components::EventSpot::EventTrack
- Defined in:
- lib/constantcontact/components/event_spot/event_track.rb
Instance Attribute Summary collapse
-
#early_fee_date ⇒ Object
Returns the value of attribute early_fee_date.
-
#guest_display_label ⇒ Object
Returns the value of attribute guest_display_label.
-
#guest_limit ⇒ Object
Returns the value of attribute guest_limit.
-
#information_sections ⇒ Object
Returns the value of attribute information_sections.
-
#is_guest_anonymous_enabled ⇒ Object
Returns the value of attribute is_guest_anonymous_enabled.
-
#is_guest_name_required ⇒ Object
Returns the value of attribute is_guest_name_required.
-
#is_registration_closed_manually ⇒ Object
Returns the value of attribute is_registration_closed_manually.
-
#is_ticketing_link_displayed ⇒ Object
Returns the value of attribute is_ticketing_link_displayed.
-
#late_fee_date ⇒ Object
Returns the value of attribute late_fee_date.
-
#registration_limit_count ⇒ Object
Returns the value of attribute registration_limit_count.
-
#registration_limit_date ⇒ Object
Returns the value of attribute registration_limit_date.
Class Method Summary collapse
-
.create(props) ⇒ EventTrack
Factory method to create an event EventTrack object from a hash.
Methods inherited from Component
#to_hash, to_hash_value, #to_json
Instance Attribute Details
#early_fee_date ⇒ Object
Returns the value of attribute early_fee_date
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def early_fee_date @early_fee_date end |
#guest_display_label ⇒ Object
Returns the value of attribute guest_display_label
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def guest_display_label @guest_display_label end |
#guest_limit ⇒ Object
Returns the value of attribute guest_limit
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def guest_limit @guest_limit end |
#information_sections ⇒ Object
Returns the value of attribute information_sections
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def information_sections @information_sections end |
#is_guest_anonymous_enabled ⇒ Object
Returns the value of attribute is_guest_anonymous_enabled
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def is_guest_anonymous_enabled @is_guest_anonymous_enabled end |
#is_guest_name_required ⇒ Object
Returns the value of attribute is_guest_name_required
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def is_guest_name_required @is_guest_name_required end |
#is_registration_closed_manually ⇒ Object
Returns the value of attribute is_registration_closed_manually
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def is_registration_closed_manually @is_registration_closed_manually end |
#is_ticketing_link_displayed ⇒ Object
Returns the value of attribute is_ticketing_link_displayed
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def is_ticketing_link_displayed @is_ticketing_link_displayed end |
#late_fee_date ⇒ Object
Returns the value of attribute late_fee_date
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def late_fee_date @late_fee_date end |
#registration_limit_count ⇒ Object
Returns the value of attribute registration_limit_count
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def registration_limit_count @registration_limit_count end |
#registration_limit_date ⇒ Object
Returns the value of attribute registration_limit_date
11 12 13 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 11 def registration_limit_date @registration_limit_date end |
Class Method Details
.create(props) ⇒ EventTrack
Factory method to create an event EventTrack object from a hash
19 20 21 22 23 24 25 26 |
# File 'lib/constantcontact/components/event_spot/event_track.rb', line 19 def self.create(props) obj = EventTrack.new props.each do |key, value| key = key.to_s obj.send("#{key}=", value) if obj.respond_to? key end if props obj end |