Class: RestRedmine::Configuration
- Inherits:
-
Object
- Object
- RestRedmine::Configuration
- Defined in:
- lib/rest_redmine/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#resources ⇒ Object
Returns the value of attribute resources.
-
#retries ⇒ Object
Returns the value of attribute retries.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/rest_redmine/configuration.rb', line 5 def initialize @resources = {} @retries = 1 end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/rest_redmine/configuration.rb', line 3 def api_key @api_key end |
#resources ⇒ Object
Returns the value of attribute resources.
3 4 5 |
# File 'lib/rest_redmine/configuration.rb', line 3 def resources @resources end |
#retries ⇒ Object
Returns the value of attribute retries.
3 4 5 |
# File 'lib/rest_redmine/configuration.rb', line 3 def retries @retries end |
#server_url ⇒ Object
Returns the value of attribute server_url.
3 4 5 |
# File 'lib/rest_redmine/configuration.rb', line 3 def server_url @server_url end |
#timeout ⇒ Object
Returns the value of attribute timeout.
3 4 5 |
# File 'lib/rest_redmine/configuration.rb', line 3 def timeout @timeout end |