Sha256: 25e4483a3d2a621e7eb4791c66887cd8e41a313f78d53a705507b0523609a0ce

Contents?: true

Size: 267 Bytes

Versions: 26

Compression:

Stored size: 267 Bytes

Contents

module Bobot
  module Event
    class PolicyEnforcement
      include Bobot::Event::Common

      def action
        @messaging['policy-enforcement']['action']
      end

      def reason
        @messaging['policy-enforcement']['reason']
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
bobot-5.0.4 lib/bobot/events/policy_enforcement.rb
bobot-5.0.3 lib/bobot/events/policy_enforcement.rb
bobot-5.0.2 lib/bobot/events/policy_enforcement.rb
bobot-5.0.1 lib/bobot/events/policy_enforcement.rb
bobot-5.0.0 lib/bobot/events/policy_enforcement.rb
bobot-4.15.0 lib/bobot/events/policy_enforcement.rb
bobot-4.14.0 lib/bobot/events/policy_enforcement.rb
bobot-4.13.1 lib/bobot/events/policy_enforcement.rb
bobot-4.13.0 lib/bobot/events/policy_enforcement.rb
bobot-4.11.0 lib/bobot/events/policy_enforcement.rb
bobot-4.10.0 lib/bobot/events/policy_enforcement.rb
bobot-4.9.0 lib/bobot/events/policy_enforcement.rb
bobot-4.8.0 lib/bobot/events/policy_enforcement.rb
bobot-4.7.0 lib/bobot/events/policy_enforcement.rb
bobot-4.6.0 lib/bobot/events/policy_enforcement.rb
bobot-4.5.0 lib/bobot/events/policy_enforcement.rb
bobot-4.4.1 lib/bobot/events/policy_enforcement.rb
bobot-4.4.0 lib/bobot/events/policy_enforcement.rb
bobot-4.3.1 lib/bobot/events/policy_enforcement.rb
bobot-4.3.0 lib/bobot/events/policy_enforcement.rb