Class: ApiTester::Configuration
- Inherits:
-
Object
- Object
- ApiTester::Configuration
- Defined in:
- lib/api_tester.rb
Instance Attribute Summary collapse
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/api_tester.rb', line 8 def initialize @endpoint = 'http://example.com' @options = {} end |
Instance Attribute Details
#endpoint ⇒ Object
Returns the value of attribute endpoint.
6 7 8 |
# File 'lib/api_tester.rb', line 6 def endpoint @endpoint end |
#options ⇒ Object
Returns the value of attribute options.
6 7 8 |
# File 'lib/api_tester.rb', line 6 def @options end |