Sha256: fb9a3b52c5b7c3c56fb44014f7af88acb7704d51f120f2fec9f8b0e8a253fdd0

Contents?: true

Size: 332 Bytes

Versions: 8

Compression:

Stored size: 332 Bytes

Contents

require_relative 'actions/blocks'

module CmAdmin
  module Models
    class BulkAction < Action

      def initialize(attributes = {}, &block)
        super
        override_default_values
      end

      def override_default_values
        self.icon_name = 'fa fa-layer-group'
        self.verb = :post
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cm-admin-1.2.4 lib/cm_admin/models/bulk_action.rb
cm-admin-1.2.3 lib/cm_admin/models/bulk_action.rb
cm-admin-1.2.2 lib/cm_admin/models/bulk_action.rb
cm-admin-1.2.1 lib/cm_admin/models/bulk_action.rb
cm-admin-1.2.0 lib/cm_admin/models/bulk_action.rb
cm-admin-1.1.9 lib/cm_admin/models/bulk_action.rb
cm-admin-1.1.8 lib/cm_admin/models/bulk_action.rb
cm-admin-1.1.7 lib/cm_admin/models/bulk_action.rb