class Crowbar::Client::Request::Node::Action
Implementation for the node action request
Public Instance Methods
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/node/action.rb, line 30 def method :post 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/node/action.rb, line 39 def url [ "crowbar", "machines", "1.0", attrs.action, attrs.name ].join("/") end