Class: S3PO::Response

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

Instance Attribute Summary

Attributes inherited from Event

#object, #options

Instance Method Summary collapse

Methods inherited from Event

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

Constructor Details

This class inherits a constructor from S3PO::Event

Instance Method Details

#okObject


118
119
120
# File 'lib/s-3po/events.rb', line 118

def ok
  object[:ok]
end

#ok?Boolean

Returns:

  • (Boolean)

122
123
124
# File 'lib/s-3po/events.rb', line 122

def ok?
  ok
end