Sha256: 4b6cd37f191714fbc8db1a84b0ba3d07ac44776cdd1304fb59de006ba388a8f2

Contents?: true

Size: 405 Bytes

Versions: 8

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

module ONEAccess
  module DataObject
    module Representer
      class Region < Representable::Decorator
        include Representable::JSON

        property :id, as: :Id, type: Integer
        property :name, as: :Name, type: String
        property :code, as: :Code, type: String
        property :description, as: :Description, type: String
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
oneaccess-1.3.1 lib/oneaccess/data_object/representer/region.rb
oneaccess-1.3.0 lib/oneaccess/data_object/representer/region.rb
oneaccess-1.2.0 lib/oneaccess/data_object/representer/region.rb
oneaccess-1.1.0 lib/oneaccess/data_object/representer/region.rb
oneaccess-1.0.1 lib/oneaccess/data_object/representer/region.rb
oneaccess-1.0.0 lib/oneaccess/data_object/representer/region.rb
oneaccess-0.5.0 lib/oneaccess/data_object/representer/region.rb
oneaccess-0.4.5 lib/oneaccess/data_object/representer/region.rb