Sha256: 2d8e48bf79ed1a2680c4d3842e94281149782796d363a2eb7b38d6cab636fb65

Contents?: true

Size: 552 Bytes

Versions: 12

Compression:

Stored size: 552 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

12 entries across 12 versions & 1 rubygems

Version Path
oneaccess-1.2.0 lib/oneaccess/response/representer/investors_response.rb
oneaccess-1.1.0 lib/oneaccess/response/representer/investors_response.rb
oneaccess-1.0.1 lib/oneaccess/response/representer/investors_response.rb
oneaccess-1.0.0 lib/oneaccess/response/representer/investors_response.rb
oneaccess-0.5.0 lib/oneaccess/response/representer/investors_response.rb
oneaccess-0.4.5 lib/oneaccess/response/representer/investors_response.rb
oneaccess-0.4.4 lib/oneaccess/response/representer/investors_response.rb
oneaccess-0.4.3 lib/oneaccess/response/representer/investors_response.rb
oneaccess-0.4.2 lib/oneaccess/response/representer/investors_response.rb
oneaccess-0.4.1 lib/oneaccess/response/representer/investors_response.rb
oneaccess-0.4.0 lib/oneaccess/response/representer/investors_response.rb
oneaccess-0.3.0 lib/oneaccess/response/representer/investors_response.rb