class Token
Public Instance Methods
load_attributes_from_response(r)
click to toggle source
# File lib/resources/token.rb, line 11 def load_attributes_from_response(r) load(JSON.load(r.body)) end
to_json(options = {})
click to toggle source
# File lib/resources/token.rb, line 5 def to_json(options = {}) { email: self.email, password: self.password }.to_json(options) end