Sha256: 19fa805facd370eab9e53cf98f8be068eb153ffbb6b4871464a80724ee198e85

Contents?: true

Size: 530 Bytes

Versions: 2

Compression:

Stored size: 530 Bytes

Contents

# frozen_string_literal: true

require_relative '../../data_object/meta'
require_relative '../../data_object/investor'

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

        property :meta,
          decorator: DataObject::Representer::Meta,
          class: DataObject::Meta
        collection :data,
          decorator: DataObject::Representer::Investor,
          class: DataObject::Investor
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oneaccess-1.3.1 lib/oneaccess/response/representer/investors_response.rb
oneaccess-1.3.0 lib/oneaccess/response/representer/investors_response.rb