Class: Convoy::ConvoyConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/convoy/convoy_configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConvoyConfiguration

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_keyObject

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_uriObject

Returns the value of attribute base_uri.



7
8
9
# File 'lib/convoy/convoy_configuration.rb', line 7

def base_uri
  @base_uri
end

#debugObject

Returns the value of attribute debug.



5
6
7
# File 'lib/convoy/convoy_configuration.rb', line 5

def debug
  @debug
end

#log_levelObject

Returns the value of attribute log_level.



10
11
12
# File 'lib/convoy/convoy_configuration.rb', line 10

def log_level
  @log_level
end

#loggerObject

Returns the value of attribute logger.



9
10
11
# File 'lib/convoy/convoy_configuration.rb', line 9

def logger
  @logger
end

#path_versionObject

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_idObject

Returns the value of attribute project_id.



11
12
13
# File 'lib/convoy/convoy_configuration.rb', line 11

def project_id
  @project_id
end

#sslObject

Returns the value of attribute ssl.



4
5
6
# File 'lib/convoy/convoy_configuration.rb', line 4

def ssl
  @ssl
end