Sha256: d16f0c1bce87f2b5533b25201b652848d2caa562a8c288acf41894dd45f57bd9
Contents?: true
Size: 563 Bytes
Versions: 3
Compression:
Stored size: 563 Bytes
Contents
module ForemanApi module Resources class Task < ForemanApi::Base def self.doc @doc ||= ForemanApi.doc['resources']["tasks"] end # @param [Hash] params a hash of params to be passed to the service # @option params [Object] id Part of +/api/orchestration/:id/tasks+ path # # @param [Hash] headers additional http headers # @return [Array] First item: parsed data; second item: raw body def index(params = {}, headers = {}) perform_call(__method__, params, headers) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
foreman_api-0.1.11 | lib/foreman_api/resources/task.rb |
foreman_api-0.1.10 | lib/foreman_api/resources/task.rb |
foreman_api-0.1.9 | lib/foreman_api/resources/task.rb |