Class: Shiro::Me

Inherits:
Object
  • Object
show all
Defined in:
lib/shiro/me.rb

Class Method Summary collapse

Class Method Details

.deleteObject



8
9
10
11
# File 'lib/shiro/me.rb', line 8

def self.delete
  response = client.delete("/me")
  response.parsed_response
end

.retrieveObject



3
4
5
6
# File 'lib/shiro/me.rb', line 3

def self.retrieve
  response = client.get("/me")
  response.parsed_response
end