Sha256: e5d1d83e13c5bbbee3cd4e2eac299f2b094de94b8a220401dc2c62103a0f6765

Contents?: true

Size: 402 Bytes

Versions: 13

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true
require_relative "./representer/address"

module ONEAccess
  module DataObject
    class Address
      extend Serializable

      represented_by Representer::Address

      attr_accessor :id
      attr_accessor :city
      attr_accessor :country
      attr_accessor :region
      attr_accessor :is_main_address

      alias main_address? is_main_address
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
oneaccess-0.4.4 lib/oneaccess/data_object/address.rb
oneaccess-0.4.3 lib/oneaccess/data_object/address.rb
oneaccess-0.4.2 lib/oneaccess/data_object/address.rb
oneaccess-0.4.1 lib/oneaccess/data_object/address.rb
oneaccess-0.4.0 lib/oneaccess/data_object/address.rb
oneaccess-0.3.0 lib/oneaccess/data_object/address.rb
oneaccess-0.2.0 lib/oneaccess/data_object/address.rb
oneaccess-0.1.9 lib/oneaccess/data_object/address.rb
oneaccess-0.1.8 lib/oneaccess/data_object/address.rb
oneaccess-0.1.7 lib/oneaccess/data_object/address.rb
oneaccess-0.1.6 lib/oneaccess/data_object/address.rb
oneaccess-0.1.5 lib/oneaccess/data_object/address.rb
oneaccess-0.1.4 lib/oneaccess/data_object/address.rb