Sha256: e2ebd3e114b12462ef187a1cd9a4f6b3a4beced4bc7a8aab8dde697899f598a1

Contents?: true

Size: 446 Bytes

Versions: 24

Compression:

Stored size: 446 Bytes

Contents

require "dry-initializer"

module Plutonium
  module Core
    module Ui
      class Collection
        extend Dry::Initializer

        option :resource_class
        option :records, default: proc { [] }
        option :fields, default: proc { {} }
        option :actions, default: proc { Plutonium::Core::Actions::Collection.new }
        option :pager, optional: true
        option :search_object, optional: true
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
plutonium-0.14.1 lib/plutonium/core/ui/collection.rb
plutonium-0.14.0 lib/plutonium/core/ui/collection.rb
plutonium-0.13.3 lib/plutonium/core/ui/collection.rb
plutonium-0.13.2 lib/plutonium/core/ui/collection.rb
plutonium-0.13.1 lib/plutonium/core/ui/collection.rb
plutonium-0.13.0 lib/plutonium/core/ui/collection.rb
plutonium-0.12.14 lib/plutonium/core/ui/collection.rb
plutonium-0.12.13 lib/plutonium/core/ui/collection.rb
plutonium-0.12.12 lib/plutonium/core/ui/collection.rb
plutonium-0.12.11 lib/plutonium/core/ui/collection.rb
plutonium-0.12.10 lib/plutonium/core/ui/collection.rb
plutonium-0.12.9 lib/plutonium/core/ui/collection.rb
plutonium-0.12.8 lib/plutonium/core/ui/collection.rb
plutonium-0.12.7 lib/plutonium/core/ui/collection.rb
plutonium-0.12.5 lib/plutonium/core/ui/collection.rb
plutonium-0.12.4 lib/plutonium/core/ui/collection.rb
plutonium-0.12.3 lib/plutonium/core/ui/collection.rb
plutonium-0.12.2 lib/plutonium/core/ui/collection.rb
plutonium-0.12.1 lib/plutonium/core/ui/collection.rb
plutonium-0.12.0 lib/plutonium/core/ui/collection.rb