Sha256: 61df75ab25aa0c2d27d7bce48650dfa535533a8a811977df33651c0c9ec95778

Contents?: true

Size: 479 Bytes

Versions: 73

Compression:

Stored size: 479 Bytes

Contents

module Coco
  module Concerns
    module ActsAsNotification
      extend ActiveSupport::Concern
      include AcceptsOptions

      included do
        accepts_option :show, from: [true, false], default: true
        accepts_option :dismiss, from: [true, false], default: true
        accepts_option :show_delay, default: 0
        accepts_option :dismiss_delay, default: 5000
        accepts_option :position, from: %i[static fixed], default: :fixed
      end
    end
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.19.7 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.19.6 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.19.5 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.19.4 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.19.3 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.19.2 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.19.1 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.19.0 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.18.8 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.18.7 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.18.0 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.17.7 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.17.6 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.17.5 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.17.4 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.17.3 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.17.2 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.17.1 app/components/coco/concerns/acts_as_notification.rb
coveragebook_components-0.17.0 app/components/coco/concerns/acts_as_notification.rb