Sha256: 12713dfb4b6a467bde35e5e6a02bd45d690fdf9810337d91e752dfadc818b6b6
Contents?: true
Size: 815 Bytes
Versions: 11
Compression:
Stored size: 815 Bytes
Contents
# # payment_address.rb # ConstantContact # # Copyright (c) 2013 Constant Contact. All rights reserved. module ConstantContact module Components module EventSpot class PaymentAddress < Component attr_accessor :city, :country, :country_code, :latitude, :line1, :line2, :line3, :longitude, :postal_code, :state, :state_code # Factory method to create a PaymentAddress object from a json string # @param [Hash] props - properties to create object from # @return [PaymentAddress] 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 end end end end
Version data entries
11 entries across 11 versions & 2 rubygems