Sha256: 5d21e70ce6f2569427741e2b9303050853185ee67276c6a41ee8368f348204c6

Contents?: true

Size: 256 Bytes

Versions: 6

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

module JSOM
  module Pagination
    class Collection < Dry::Struct
      attribute :items, Types::Strict::Array
      attribute :meta, Types.Instance(MetaData)
      attribute :links, Types::Instance(Links)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jsom-pagination-1.0.0 lib/jsom/pagination/collection.rb
jsom-pagination-0.2.0 lib/jsom/pagination/collection.rb
jsom-pagination-0.1.3 lib/jsom/pagination/collection.rb
jsom-pagination-0.1.2 lib/jsom/pagination/collection.rb
jsom-pagination-0.1.1 lib/jsom/pagination/collection.rb
jsom-pagination-0.1.0 lib/jsom/pagination/collection.rb