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_hidden?, #is_im?, #is_message?, #is_simplemessage?, #subtype, #ts, #type, #user

Constructor Details

This class inherits a constructor from S3PO::Event

Instance Method Details

#okObject



125
126
127
# File 'lib/s-3po/events.rb', line 125

def ok
  object[:ok]
end

#ok?Boolean

Returns:

  • (Boolean)


129
130
131
# File 'lib/s-3po/events.rb', line 129

def ok?
  ok
end