Class: Renshuu::Profile

Inherits:
Model
  • Object
show all
Defined in:
lib/renshuu/models/profile.rb

Overview

Model class for user profiles.

Class Method Summary collapse

Methods inherited from Model

default_options

Class Method Details

.getProfile

Returns:



11
12
13
14
# File 'lib/renshuu/models/profile.rb', line 11

def self.get
  body = Renshuu.client.query(:get, 'v1/profile')
  new(body)
end