class ConstantContact::Components::EventSpot::NotificationOption
Attributes
is_opted_in[RW]
notification_type[RW]
Public Class Methods
create(props)
click to toggle source
Factory method to create an event NotificationOption
object from a hash @param [Hash] props - hash of properties to create object from @return [NotificationOption]
# File lib/constantcontact/components/event_spot/notification_option.rb, line 16 def self.create(props) obj = NotificationOption.new props.each do |key, value| key = key.to_s obj.send("#{key}=", value) if obj.respond_to? key end if props obj end