Class: AirbyteRuby::Configuration
- Inherits:
-
Object
- Object
- AirbyteRuby::Configuration
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/airbyte_ruby/configuration.rb
Overview
Configuration class for AirbyteRuby
Instance Method Summary collapse
-
#endpoint ⇒ String
The endpoint that Airbyte is running on /!\ Must include the trailing slash Defaults to localhost:8006/.
Instance Method Details
#endpoint ⇒ String
The endpoint that Airbyte is running on /!\ Must include the trailing slash Defaults to localhost:8006/
16 17 18 19 20 21 |
# File 'lib/airbyte_ruby/configuration.rb', line 16 config_accessor :endpoint do endpoint = ENV.fetch("AIRBYTE_ENDPOINT", "http://localhost:8006/") endpoint += "/" if endpoint[-1] != "/" endpoint end |