# File lib/puppet/network/http/api/v1.rb, line 41
41:     def indirection_method(http_method, indirection)
42:         unless METHOD_MAP[http_method]
43:             raise ArgumentError, "No support for http method %s" % http_method
44:         end
45: 
46:         unless method = METHOD_MAP[http_method][plurality(indirection)]
47:             raise ArgumentError, "No support for plural %s operations" % http_method
48:         end
49: 
50:         return method
51:     end