class ConstantContact::Components::EventItemAttribute
Attributes
id[RW]
name[RW]
quantity_available[RW]
quantity_total[RW]
Public Class Methods
create(props)
click to toggle source
Factory method to create an EventItemAttribute
object from a hash @param [Hash] props - properties to create object from @return [EventItemAttribute]
# File lib/constantcontact/components/event_spot/event_item_attribute.rb, line 15 def self.create(props) obj = EventItemAttribute.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end