class ConstantContact::Components::EventSpot::EventTrack

Attributes

early_fee_date[RW]
guest_display_label[RW]
guest_limit[RW]
information_sections[RW]
is_guest_anonymous_enabled[RW]
is_guest_name_required[RW]
is_registration_closed_manually[RW]
late_fee_date[RW]
registration_limit_count[RW]
registration_limit_date[RW]

Public Class Methods

create(props) click to toggle source

Factory method to create an event EventTrack object from a hash @param [Hash] props - hash of properties to create object from @return [EventTrack]

# 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