Sha256: 7bc1438645ded28804497d261608a316a3a14ce25da23f63a42b50e4866c8851

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

require_relative "../../data_object/organization"

module ONEAccess
  module Response
    module Representer
      class OrganizationsResponse < Representable::Decorator
        include Representable::JSON

        property :api_status_code, as: :ApiStatusCode
        property :data, as: :Data, decorator: DataObject::Representer::Organization, class: DataObject::Organization
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oneaccess-0.1.3 lib/oneaccess/response/representer/organizations_response.rb
oneaccess-0.1.2 lib/oneaccess/response/representer/organizations_response.rb
oneaccess-0.1.1 lib/oneaccess/response/representer/organizations_response.rb