Class: ForemanApi::Resources::SmartVariable
- Inherits:
-
Base
- Object
- Base
- ForemanApi::Resources::SmartVariable
- Defined in:
- lib/foreman_api/resources/smart_variable.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/smart_variable.rb', line 4 def self.doc @doc ||= ForemanApi.doc['resources']["smart_variables"] end |
Instance Method Details
- (Array) create(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
46 47 48 |
# File 'lib/foreman_api/resources/smart_variable.rb', line 46 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) destroy(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
74 75 76 |
# File 'lib/foreman_api/resources/smart_variable.rb', line 74 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) index(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
19 20 21 |
# File 'lib/foreman_api/resources/smart_variable.rb', line 19 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) show(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
28 29 30 |
# File 'lib/foreman_api/resources/smart_variable.rb', line 28 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) update(params = {}, headers = {})
Returns First item: parsed data; second item: raw body
65 66 67 |
# File 'lib/foreman_api/resources/smart_variable.rb', line 65 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |