Class: Capsolver::Configuration
- Inherits:
-
Object
- Object
- Capsolver::Configuration
- Defined in:
- lib/capsolver/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#request_url ⇒ Object
Returns the value of attribute request_url.
-
#sleep_time ⇒ Object
Returns the value of attribute sleep_time.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 |
# File 'lib/capsolver/configuration.rb', line 7 def initialize @sleep_time = 5 @request_url = "https://api.capsolver.com" end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/capsolver/configuration.rb', line 5 def api_key @api_key end |
#request_url ⇒ Object
Returns the value of attribute request_url.
5 6 7 |
# File 'lib/capsolver/configuration.rb', line 5 def request_url @request_url end |
#sleep_time ⇒ Object
Returns the value of attribute sleep_time.
5 6 7 |
# File 'lib/capsolver/configuration.rb', line 5 def sleep_time @sleep_time end |