Sha256: 47ac3958085d8ea20f2206510ccaf3a3e854c815d1cb987df2cc6ee6fcc6a26e

Contents?: true

Size: 403 Bytes

Versions: 6

Compression:

Stored size: 403 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

6 entries across 6 versions & 1 rubygems

Version Path
oneaccess-1.2.0 lib/oneaccess/data_object/address.rb
oneaccess-1.1.0 lib/oneaccess/data_object/address.rb
oneaccess-1.0.1 lib/oneaccess/data_object/address.rb
oneaccess-1.0.0 lib/oneaccess/data_object/address.rb
oneaccess-0.5.0 lib/oneaccess/data_object/address.rb
oneaccess-0.4.5 lib/oneaccess/data_object/address.rb