class Protocol::HTTP::Methods
All supported HTTP methods
def self.each
def self.each constants.each do |name| yield name, const_get(name) end end
def self.valid?(name)
def self.valid?(name) const_defined?(name) rescue NameError # Ruby will raise an exception if the name is not valid for a constant. return false end