class ConstantContact::Components::EventSpot::PaymentAddress
Attributes
city[RW]
country[RW]
country_code[RW]
latitude[RW]
line1[RW]
line2[RW]
line3[RW]
longitude[RW]
postal_code[RW]
state[RW]
state_code[RW]
Public Class Methods
create(props)
click to toggle source
Factory method to create a PaymentAddress
object from a json string @param [Hash] props - properties to create object from @return [PaymentAddress]
# File lib/constantcontact/components/event_spot/payment_address.rb, line 17 def self.create(props) obj = PaymentAddress.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end