Class: Convoy::ConvoyConfiguration
- Inherits:
-
Object
- Object
- Convoy::ConvoyConfiguration
- Defined in:
- lib/convoy/convoy_configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#log_level ⇒ Object
Returns the value of attribute log_level.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#path_version ⇒ Object
Returns the value of attribute path_version.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#ssl ⇒ Object
Returns the value of attribute ssl.
Instance Method Summary collapse
-
#initialize ⇒ ConvoyConfiguration
constructor
A new instance of ConvoyConfiguration.
Constructor Details
#initialize ⇒ ConvoyConfiguration
Returns a new instance of ConvoyConfiguration.
13 14 15 16 17 18 |
# File 'lib/convoy/convoy_configuration.rb', line 13 def initialize @base_uri = "https://dashboard.getconvoy.io/api" @path_version = "/v1" @ssl = true @debug = false end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/convoy/convoy_configuration.rb', line 6 def api_key @api_key end |
#base_uri ⇒ Object
Returns the value of attribute base_uri.
7 8 9 |
# File 'lib/convoy/convoy_configuration.rb', line 7 def base_uri @base_uri end |
#debug ⇒ Object
Returns the value of attribute debug.
5 6 7 |
# File 'lib/convoy/convoy_configuration.rb', line 5 def debug @debug end |
#log_level ⇒ Object
Returns the value of attribute log_level.
10 11 12 |
# File 'lib/convoy/convoy_configuration.rb', line 10 def log_level @log_level end |
#logger ⇒ Object
Returns the value of attribute logger.
9 10 11 |
# File 'lib/convoy/convoy_configuration.rb', line 9 def logger @logger end |
#path_version ⇒ Object
Returns the value of attribute path_version.
8 9 10 |
# File 'lib/convoy/convoy_configuration.rb', line 8 def path_version @path_version end |
#project_id ⇒ Object
Returns the value of attribute project_id.
11 12 13 |
# File 'lib/convoy/convoy_configuration.rb', line 11 def project_id @project_id end |
#ssl ⇒ Object
Returns the value of attribute ssl.
4 5 6 |
# File 'lib/convoy/convoy_configuration.rb', line 4 def ssl @ssl end |