Class: FidorApi::User

Inherits:
Connectivity::Resource show all
Extended by:
ModelAttribute
Defined in:
lib/fidor_api/user.rb

Defined Under Namespace

Modules: ClientSupport

Instance Attribute Summary

Attributes inherited from Connectivity::Resource

#error_keys

Class Method Summary collapse

Methods inherited from Connectivity::Resource

all, find, #initialize, model_name, #persisted?, #reload, #save, #update_attributes

Constructor Details

This class inherits a constructor from FidorApi::Connectivity::Resource

Class Method Details

.currentObject



14
15
16
# File 'lib/fidor_api/user.rb', line 14

def self.current
  new endpoint.for(self).get(action: 'current').body
end