Sha256: 0b25febe883f5b72abc8ef63ac10ab75861c5f932620f663b03756a9ab896407
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
module Sensu module Push 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sensu-push-0.3.0 | lib/sensu/push/event.rb |