Sha256: bfc74f4172cb99dfe1b1759923caa03278251780804f9996c5476a1c27749f8f

Contents?: true

Size: 332 Bytes

Versions: 4

Compression:

Stored size: 332 Bytes

Contents

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

module ONEAccess
  module DataObject
    class 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

4 entries across 4 versions & 1 rubygems

Version Path
oneaccess-0.1.3 lib/oneaccess/data_object/address.rb
oneaccess-0.1.2 lib/oneaccess/data_object/address.rb
oneaccess-0.1.1 lib/oneaccess/data_object/address.rb
oneaccess-0.1.0 lib/oneaccess/data_object/address.rb