class Crowbar::Client::Request::Services::ListRestartFlags

Implementation for the Restarts Flags request

Public Instance Methods

headers() click to toggle source

Override the request headers

@return [Hash] the headers for the request

Calls superclass method Crowbar::Client::Request::Base#headers
# File lib/crowbar/client/request/services/restart_flags.rb, line 32
def headers
  super.easy_merge!(
    ::Crowbar::Client::Util::ApiVersion.new(2.0).headers
  )
end
method() click to toggle source

HTTP method that gets used by the request

@return [Symbol] the method for the request

# File lib/crowbar/client/request/services/restart_flags.rb, line 43
def method
  :get
end
url() click to toggle source

Path to the API endpoint for the request

@return [String] path to the API endpoint

# File lib/crowbar/client/request/services/restart_flags.rb, line 52
def url
  ["api", "restart_management", "configuration"].join("/")
end