Class: RestRedmine::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/rest_redmine/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



3
4
5
# File 'lib/rest_redmine/configuration.rb', line 3

def api_key
  @api_key
end

#resourcesObject

Returns the value of attribute resources.



3
4
5
# File 'lib/rest_redmine/configuration.rb', line 3

def resources
  @resources
end

#retriesObject

Returns the value of attribute retries.



3
4
5
# File 'lib/rest_redmine/configuration.rb', line 3

def retries
  @retries
end

#server_urlObject

Returns the value of attribute server_url.



3
4
5
# File 'lib/rest_redmine/configuration.rb', line 3

def server_url
  @server_url
end

#timeoutObject

Returns the value of attribute timeout.



3
4
5
# File 'lib/rest_redmine/configuration.rb', line 3

def timeout
  @timeout
end