Exception: Maia::Error::Unregistered
- Defined in:
- lib/maia/error/unregistered.rb
Instance Attribute Summary
Attributes inherited from Generic
Instance Method Summary collapse
Instance Method Details
#token ⇒ Object
4 5 6 7 8 9 |
# File 'lib/maia/error/unregistered.rb', line 4 def token json = JSON.parse(payload) json['token'] rescue JSON::ParserError nil end |