class Maia::Error::Unregistered

Public Instance Methods

token() click to toggle source
# File lib/maia/error/unregistered.rb, line 4
def token
  json = JSON.parse(payload)
  json['token']
rescue JSON::ParserError
  nil
end