Class: ConstantContact::Components::EventSpot::EventTrack

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

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Component

#to_hash, to_hash_value, #to_json

Instance Attribute Details

#early_fee_dateObject

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_labelObject

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_limitObject

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_sectionsObject

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_enabledObject

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_requiredObject

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_manuallyObject

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

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_dateObject

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_countObject

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_dateObject

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

Parameters:

  • props (Hash)
    • hash of properties to create object from

Returns:



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