Class: Velocity::Api::People
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#get, #initialize, #post, #put
Constructor Details
This class inherits a constructor from Velocity::Api::Base
Instance Method Details
#fetch ⇒ Object
4 5 6 |
# File 'lib/velocity/api/people.rb', line 4 def fetch get("/people") end |
#update ⇒ Object
8 9 10 |
# File 'lib/velocity/api/people.rb', line 8 def update put("/people/#{args.fetch(:id)}", body) end |