Module: HyperTrack::ApiOperations::UserAPI
- Included in:
- User
- Defined in:
- lib/hypertrack/api_operations/user_api.rb
Instance Method Summary collapse
- #assign_actions(params) ⇒ Object
- #mileage(params = {}) ⇒ Object
- #placeline(params = {}) ⇒ Object
- #update(params) ⇒ Object
Instance Method Details
#assign_actions(params) ⇒ Object
5 6 7 8 |
# File 'lib/hypertrack/api_operations/user_api.rb', line 5 def assign_actions(params) path = "assign_actions/" self.update(path, params, [:action_ids]) end |
#mileage(params = {}) ⇒ Object
19 20 21 22 |
# File 'lib/hypertrack/api_operations/user_api.rb', line 19 def mileage(params={}) path = "mileage/" self.get(path, params) end |
#placeline(params = {}) ⇒ Object
14 15 16 17 |
# File 'lib/hypertrack/api_operations/user_api.rb', line 14 def placeline(params={}) path = "placeline/" self.get(path, params) end |
#update(params) ⇒ Object
10 11 12 |
# File 'lib/hypertrack/api_operations/user_api.rb', line 10 def update(params) self.patch(params) end |