Class: ForemanApi::Resources::Puppetclass
- Inherits:
-
Base
- Object
- Base
- ForemanApi::Resources::Puppetclass
- Defined in:
- lib/foreman_api/resources/puppetclass.rb
Class Method Summary (collapse)
Instance Method Summary (collapse)
-
- (Array) create(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) destroy(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) index(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) show(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (Array) update(params = {}, headers = {})
First item: parsed data; second item: raw body.
Class Method Details
+ (Object) doc
4 5 6 |
# File 'lib/foreman_api/resources/puppetclass.rb', line 4 def self.doc @doc ||= ForemanApi.doc['resources']["puppetclasses"] end |
Instance Method Details
- (Array) create(params = {}, headers = {})
First item: parsed data; second item: raw body
38 39 40 |
# File 'lib/foreman_api/resources/puppetclass.rb', line 38 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) destroy(params = {}, headers = {})
First item: parsed data; second item: raw body
59 60 61 |
# File 'lib/foreman_api/resources/puppetclass.rb', line 59 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) index(params = {}, headers = {})
First item: parsed data; second item: raw body
15 16 17 |
# File 'lib/foreman_api/resources/puppetclass.rb', line 15 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) show(params = {}, headers = {})
First item: parsed data; second item: raw body
27 28 29 |
# File 'lib/foreman_api/resources/puppetclass.rb', line 27 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) update(params = {}, headers = {})
First item: parsed data; second item: raw body
50 51 52 |
# File 'lib/foreman_api/resources/puppetclass.rb', line 50 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |