Sha256: 6339a98f8c14931d035d3b0e6da72e494805943b505d58cd56e60a661c2fedb3
Contents?: true
Size: 797 Bytes
Versions: 4
Compression:
Stored size: 797 Bytes
Contents
module TheCity class UserAddress < ApiObject tc_attr_accessor :user_id, :id, :city, :state, :street, :street2, :zipcode, :longitude, :latitude, :location_type, :privacy, :created_at, :updated_at # Constructor. # # @param json_data (optional) JSON data of the user address. def initialize(json_data = nil) @writer_object = UserAddressWriter initialize_from_json_object(json_data) unless json_data.nil? end def home_address? self.location_type.to_s.downcase == 'home' end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
the-city-admin-0.7.1 | lib/api/user_address.rb |
the-city-admin-0.7.0 | lib/api/user_address.rb |
the-city-admin-0.6.9 | lib/api/user_address.rb |
the-city-admin-0.6.8 | lib/api/user_address.rb |