Method: ChefAPI::Authentication#canonical_method

Defined in:
lib/chef-api/authentication.rb

#canonical_methodString

The uppercase verb.

Examples:

:get #=> "GET"

Returns:

  • (String)


205
206
207
# File 'lib/chef-api/authentication.rb', line 205

def canonical_method
  @canonical_method ||= @verb.to_s.upcase
end