class ApiTester::SupportedVerbs
Class defining the verbs this tool supports
Public Class Methods
add_item(key, value)
click to toggle source
# File lib/api-tester/util/supported_verbs.rb, line 6 def self.add_item(key, value) @hash ||= {} @hash[key] = value end
all()
click to toggle source
# File lib/api-tester/util/supported_verbs.rb, line 19 def self.all @hash.values end
const_missing(key)
click to toggle source
# File lib/api-tester/util/supported_verbs.rb, line 11 def self.const_missing(key) @hash[key] end
each() { |key, value| ... }
click to toggle source
# File lib/api-tester/util/supported_verbs.rb, line 15 def self.each @hash.each { |key, value| yield(key, value) } end