Class: S3PO::Response

Inherits:
Event
  • Object
show all
Defined in:
lib/s-3po/events.rb

Instance Attribute Summary

Attributes inherited from Event

#object

Instance Method Summary collapse

Methods inherited from Event

#channel, #channel=, #initialize, #is_message?, #is_simplemessage?, #subtype, #ts, #type, #user

Constructor Details

This class inherits a constructor from S3PO::Event

Instance Method Details

#okObject



100
101
102
# File 'lib/s-3po/events.rb', line 100

def ok
  object[:ok]
end

#ok?Boolean

Returns:

  • (Boolean)


104
105
106
# File 'lib/s-3po/events.rb', line 104

def ok?
  ok
end