Sha256: d497be9d112e697a09565ecb82af152d8cc0ffa44cfea6e2492568aa110196cc

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

module Plutonium
  module Core
    module UI
      Collection = Data.define :resource_class, :records, :fields, :actions, :pagination, :search_object, :search_field do
        def initialize(
          resource_class:, records: [], fields: {}, actions: Plutonium::Core::Actions::Collection.new,
          pagination: nil, search_object: nil, search_field: nil
        )
          super
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
plutonium-0.6.2 lib/plutonium/core/ui/collection.rb
plutonium-0.6.1 lib/plutonium/core/ui/collection.rb
plutonium-0.6.0 lib/plutonium/core/ui/collection.rb