Class: Roqua::CoreApi::Person Private

Inherits:
ActiveInteraction::Base
  • Object
show all
Defined in:
lib/roqua/core_api/person.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#executeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



8
9
10
11
# File 'lib/roqua/core_api/person.rb', line 8

def execute
  response = session.get "/people/#{person_id}"
  Models::Person.new(response['person'])
end