class ConstantContact::Components::EventFee

Attributes

early_fee[RW]
fee[RW]
fee_scope[RW]
id[RW]
label[RW]
late_fee[RW]

Public Class Methods

create(props) click to toggle source

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

# File lib/constantcontact/components/event_spot/event_fee.rb, line 15
def self.create(props)
  obj = EventFee.new
  if props
    props.each do |key, value|
      key = key.to_s
      obj.send("#{key}=", value) if obj.respond_to? key
    end
  end
  obj
end