Sha256: e41c7c07f09c8735d27db28164dd23abbe4f402577a8c697f88ac1b150b45d4a

Contents?: true

Size: 403 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
oneaccess-1.3.1 lib/oneaccess/data_object/address.rb
oneaccess-1.3.0 lib/oneaccess/data_object/address.rb