Sha256: 7c68f6a3a0e1ac39e3404df8e5ba9549eed3d54db942d17a6af1e41f8e796ed2
Contents?: true
Size: 806 Bytes
Versions: 11
Compression:
Stored size: 806 Bytes
Contents
# # event_address.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components module EventSpot class EventAddress < Component attr_accessor :city, :country, :country_code, :latitude, :line1, :line2, :line3, :longitude, :postal_code, :state, :state_code # Factory method to create an EventAddress object from a json string # @param [Hash] props - properties to create object from # @return [EventAddress] def self.create(props) obj = EventAddress.new if props props.each do |key, value| obj.send("#{key}=", value) if obj.respond_to? key end end obj end end end end end
Version data entries
11 entries across 11 versions & 2 rubygems