Class: ApiTester::SupportedVerbs
- Inherits:
-
Object
- Object
- ApiTester::SupportedVerbs
- Defined in:
- lib/api-tester/util/supported_verbs.rb
Class Method Summary collapse
Class Method Details
.add_item(key, value) ⇒ Object
3 4 5 6 |
# File 'lib/api-tester/util/supported_verbs.rb', line 3 def SupportedVerbs.add_item(key, value) @hash ||= {} @hash[key] = value end |
.all ⇒ Object
16 17 18 |
# File 'lib/api-tester/util/supported_verbs.rb', line 16 def SupportedVerbs.all @hash.values end |
.const_missing(key) ⇒ Object
8 9 10 |
# File 'lib/api-tester/util/supported_verbs.rb', line 8 def SupportedVerbs.const_missing(key) @hash[key] end |
.each ⇒ Object
12 13 14 |
# File 'lib/api-tester/util/supported_verbs.rb', line 12 def SupportedVerbs.each @hash.each {|key,value| yield(key,value)} end |