Sha256: 084bef5fc3fbddc415b7e7c941ef0e37a0f54285de2544ca1ed84b6aaa79e82b
Contents?: true
Size: 311 Bytes
Versions: 2
Compression:
Stored size: 311 Bytes
Contents
module Sensu module Run class Event attr_reader :entity, :check def initialize(entity, check) @entity = entity @check = check end def to_hash { :entity => @entity.to_hash, :check => @check.to_hash } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sensu-run-0.3.0 | lib/sensu/run/event.rb |
sensu-run-0.2.0 | lib/sensu/run/event.rb |