Sha256: 930112ef490475a444d8cf83d8692efc0ebd008c1e9c1351e5eaf306ecf69db1
Contents?: true
Size: 676 Bytes
Versions: 6
Compression:
Stored size: 676 Bytes
Contents
# frozen_string_literal: true require_relative "../city" require_relative "../country" require_relative "../region" module ONEAccess module DataObject module Representer class Address < Representable::Decorator include Representable::JSON property :id, as: :Id, type: Integer property :is_main_address, as: :IsMainAddress property :city, as: :City, decorator: Representer::City, class: DataObject::City property :country, as: :Country, decorator: Representer::Country, class: DataObject::Country property :region, as: :Region, decorator: Representer::Region, class: DataObject::Region end end end end
Version data entries
6 entries across 6 versions & 1 rubygems