Sha256: fb46df8efebcbb8d930e34dc9085e6e04a038ed17196a3fe32806353b9388fa9

Contents?: true

Size: 345 Bytes

Versions: 21

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module WorkOS
  module Types
    # ListStruct acts as an interface to expose lists of data and related
    # metadata
    class ListStruct
      attr_accessor :data, :list_metadata

      def initialize(data:, list_metadata:)
        @data = data
        @list_metadata = list_metadata
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
workos-4.2.0 lib/workos/types/list_struct.rb