Class: Vhx::User
- Includes:
- ApiOperations::Request
- Defined in:
- lib/vhx/objects/user.rb
Constant Summary
Constants inherited from VhxObject
VhxObject::ASSOCIATION_WHITELIST
Class Method Summary collapse
Methods included from ApiOperations::Request
Methods inherited from VhxObject
#_embedded, #_links, #href, #initialize, #links, #to_hash, #to_json
Methods included from HelperMethods
Constructor Details
This class inherits a constructor from Vhx::VhxObject
Class Method Details
.me ⇒ Object
5 6 7 8 |
# File 'lib/vhx/objects/user.rb', line 5 def self.me response_json = Vhx.connection.get('/me').body self.new(response_json) end |