class ForemanApi::Resources::Home
Public Class Methods
doc()
click to toggle source
# File lib/foreman_api/resources/home.rb, line 4 def self.doc @doc ||= ForemanApi.doc['resources']["home"] end
Public Instance Methods
index(params = {}, headers = {})
click to toggle source
@param [Hash] params a hash of params to be passed to the service
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/home.rb, line 12 def index(params = {}, headers = {}) perform_call(__method__, params, headers) end
status(params = {}, headers = {})
click to toggle source
@param [Hash] params a hash of params to be passed to the service
@param [Hash] headers additional http headers @return [Array] First item: parsed data; second item: raw body
# File lib/foreman_api/resources/home.rb, line 20 def status(params = {}, headers = {}) perform_call(__method__, params, headers) end