Class: Kaseya::VSA::Client::Agents

Inherits:
Api
  • Object
show all
Defined in:
lib/kaseya/vsa/client/agents.rb

Instance Attribute Summary

Attributes inherited from Api

#connection

Instance Method Summary collapse

Methods inherited from Api

#delete, #get_many, #get_one, #initialize, #post, #put

Constructor Details

This class inherits a constructor from Kaseya::VSA::Api

Instance Method Details

#all(params = {}) ⇒ Object



3
4
5
# File 'lib/kaseya/vsa/client/agents.rb', line 3

def all(params = {})
  get_many "assetmgmt/agents", params
end

#find(id) ⇒ Object



7
8
9
# File 'lib/kaseya/vsa/client/agents.rb', line 7

def find(id)
  get_one "assetmgmt/agents/#{id}"
end