class Fuey::Inspections::Support::Status
Attributes
name[RW]
settings[RW]
status[RW]
status_message[RW]
type[RW]
Public Instance Methods
<=>(another)
click to toggle source
# File lib/fuey_client/fuey/inspections/support/status.rb, line 27 def <=>(another) attributes.hash <=> another.attributes.hash end
attributes()
click to toggle source
# File lib/fuey_client/fuey/inspections/support/status.rb, line 20 def attributes [:type, :name, :status, :settings, :status_message].inject(Hash.new) do |memo, attr| memo[attr] = self.send(attr) memo end end
failed?()
click to toggle source
# File lib/fuey_client/fuey/inspections/support/status.rb, line 16 def failed? status == 'failed' end
passed?()
click to toggle source
# File lib/fuey_client/fuey/inspections/support/status.rb, line 12 def passed? status == 'passed' end