Class: Sphero::Response::GetRGB
- Inherits:
-
Sphero::Response
- Object
- Sphero::Response
- Sphero::Response::GetRGB
- Defined in:
- lib/sphero/response.rb
Constant Summary
Constants inherited from Sphero::Response
ASYNC_RESPONSE, CODE_OK, DLEN, MRSP, SEQ, SIMPLE_RESPONSE, SOP1, SOP2
Instance Method Summary collapse
Methods inherited from Sphero::Response
async?, #body, #empty?, #initialize, #seq, simple?, #success?, #valid?
Constructor Details
This class inherits a constructor from Sphero::Response
Instance Method Details
#b ⇒ Object
99 |
# File 'lib/sphero/response.rb', line 99 def b; body[2]; end |
#g ⇒ Object
98 |
# File 'lib/sphero/response.rb', line 98 def g; body[1]; end |
#r ⇒ Object
97 |
# File 'lib/sphero/response.rb', line 97 def r; body[0]; end |