class Crowbar::Client::Request::Restricted::Show

Implementation for the restricted show 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/restricted/show.rb, line 30
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/restricted/show.rb, line 39
def url
  [
    "restricted",
    "show",
    attrs.name
  ].join("/")
end