Sha256: 42d31bab4d6bc72dba3399a957149b3b8a20ad961ad1297774cba86c046f2bc8

Contents?: true

Size: 606 Bytes

Versions: 10

Compression:

Stored size: 606 Bytes

Contents

module ChurchCommunityBuilder

  include Enumerable

  class Address < ApiObject
    
    # Type = {mailing: 'mailing', home: 'home', work: 'work', other: 'other'}

    ccb_attr_accessor :type,
                      :street_address,
                      :city,
                      :state,
                      :zip,
                      :country,
                      :line_1,
                      :line_2,
                      :latitude,
                      :longitude
                      

    def initialize(json)
      initialize_from_json_object(json) unless json.nil?
    end


  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
church-community-builder-0.2.2 lib/api/address.rb
church-community-builder-0.2.1 lib/api/address.rb
church-community-builder-0.2.0 lib/api/address.rb
church-community-builder-0.1.6 lib/api/address.rb
church-community-builder-0.1.5 lib/api/address.rb
church-community-builder-0.1.4 lib/api/address.rb
church-community-builder-0.1.3 lib/api/address.rb
church-community-builder-0.1.2 lib/api/address.rb
church-community-builder-0.1.1 lib/api/address.rb
church-community-builder-0.1.0 lib/api/address.rb