Class: Tidewave::Configuration
- Inherits:
-
Object
- Object
- Tidewave::Configuration
- Defined in:
- lib/tidewave/configuration.rb
Instance Attribute Summary collapse
-
#allow_remote_access ⇒ Object
Returns the value of attribute allow_remote_access.
-
#client_url ⇒ Object
Returns the value of attribute client_url.
-
#dev ⇒ Object
Returns the value of attribute dev.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#logger_middleware ⇒ Object
Returns the value of attribute logger_middleware.
-
#preferred_orm ⇒ Object
Returns the value of attribute preferred_orm.
-
#team ⇒ Object
Returns the value of attribute team.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
7 8 9 10 11 12 13 14 15 |
# File 'lib/tidewave/configuration.rb', line 7 def initialize @logger = nil @allow_remote_access = true @preferred_orm = :active_record @dev = false @client_url = "https://tidewave.ai" @team = {} @logger_middleware = nil end |
Instance Attribute Details
#allow_remote_access ⇒ Object
Returns the value of attribute allow_remote_access.
5 6 7 |
# File 'lib/tidewave/configuration.rb', line 5 def allow_remote_access @allow_remote_access end |
#client_url ⇒ Object
Returns the value of attribute client_url.
5 6 7 |
# File 'lib/tidewave/configuration.rb', line 5 def client_url @client_url end |
#dev ⇒ Object
Returns the value of attribute dev.
5 6 7 |
# File 'lib/tidewave/configuration.rb', line 5 def dev @dev end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/tidewave/configuration.rb', line 5 def logger @logger end |
#logger_middleware ⇒ Object
Returns the value of attribute logger_middleware.
5 6 7 |
# File 'lib/tidewave/configuration.rb', line 5 def logger_middleware @logger_middleware end |
#preferred_orm ⇒ Object
Returns the value of attribute preferred_orm.
5 6 7 |
# File 'lib/tidewave/configuration.rb', line 5 def preferred_orm @preferred_orm end |
#team ⇒ Object
Returns the value of attribute team.
5 6 7 |
# File 'lib/tidewave/configuration.rb', line 5 def team @team end |