Module: PuppetRestClient::DB::Request
- Included in:
- Connection
- Defined in:
- lib/puppet-rest/db/request.rb
Instance Method Summary collapse
Instance Method Details
#api_path(entity) ⇒ Object
8 9 10 |
# File 'lib/puppet-rest/db/request.rb', line 8 def api_path(entity) '/%s/%s' % [api_version, entity] end |
#get(path, params = nil, options = Mash.new) ⇒ Object
4 5 6 |
# File 'lib/puppet-rest/db/request.rb', line 4 def get(path, params=nil, =Mash.new) request(:get, path, params, ) end |