Class: ApiTester::SupportedVerbs
- Inherits:
-
Object
- Object
- ApiTester::SupportedVerbs
- Defined in:
- lib/api-tester/util/supported_verbs.rb
Overview
Class defining the verbs this tool supports
Class Method Summary collapse
Class Method Details
.add_item(key, value) ⇒ Object
6 7 8 9 |
# File 'lib/api-tester/util/supported_verbs.rb', line 6 def self.add_item(key, value) @hash ||= {} @hash[key] = value end |
.all ⇒ Object
19 20 21 |
# File 'lib/api-tester/util/supported_verbs.rb', line 19 def self.all @hash.values end |
.const_missing(key) ⇒ Object
11 12 13 |
# File 'lib/api-tester/util/supported_verbs.rb', line 11 def self.const_missing(key) @hash[key] end |
.each(&block) ⇒ Object
15 16 17 |
# File 'lib/api-tester/util/supported_verbs.rb', line 15 def self.each(&block) @hash.each(&block) end |