Class: ForemanApi::Resources::OperatingSystem
- Inherits:
-
Base
- Object
- Base
- ForemanApi::Resources::OperatingSystem
- Defined in:
- lib/foreman_api/resources/operating_system.rb
Class Method Summary (collapse)
Instance Method Summary (collapse)
-
- (Array) bootfiles(params = {}, headers = {})
First item: parsed data; second item: raw body.
-
- (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/operating_system.rb', line 4 def self.doc @doc ||= ForemanApi.doc['resources']["operatingsystems"] end |
Instance Method Details
- (Array) bootfiles(params = {}, headers = {})
First item: parsed data; second item: raw body
76 77 78 |
# File 'lib/foreman_api/resources/operating_system.rb', line 76 def bootfiles(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) create(params = {}, headers = {})
First item: parsed data; second item: raw body
40 41 42 |
# File 'lib/foreman_api/resources/operating_system.rb', line 40 def create(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) destroy(params = {}, headers = {})
First item: parsed data; second item: raw body
65 66 67 |
# File 'lib/foreman_api/resources/operating_system.rb', line 65 def destroy(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) index(params = {}, headers = {})
First item: parsed data; second item: raw body
16 17 18 |
# File 'lib/foreman_api/resources/operating_system.rb', line 16 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) show(params = {}, headers = {})
First item: parsed data; second item: raw body
25 26 27 |
# File 'lib/foreman_api/resources/operating_system.rb', line 25 def show(params = {}, headers = {}) perform_call(__method__, params, headers) end |
- (Array) update(params = {}, headers = {})
First item: parsed data; second item: raw body
56 57 58 |
# File 'lib/foreman_api/resources/operating_system.rb', line 56 def update(params = {}, headers = {}) perform_call(__method__, params, headers) end |