Class: Tidewave::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



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_accessObject

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_urlObject

Returns the value of attribute client_url.



5
6
7
# File 'lib/tidewave/configuration.rb', line 5

def client_url
  @client_url
end

#devObject

Returns the value of attribute dev.



5
6
7
# File 'lib/tidewave/configuration.rb', line 5

def dev
  @dev
end

#loggerObject

Returns the value of attribute logger.



5
6
7
# File 'lib/tidewave/configuration.rb', line 5

def logger
  @logger
end

#logger_middlewareObject

Returns the value of attribute logger_middleware.



5
6
7
# File 'lib/tidewave/configuration.rb', line 5

def logger_middleware
  @logger_middleware
end

#preferred_ormObject

Returns the value of attribute preferred_orm.



5
6
7
# File 'lib/tidewave/configuration.rb', line 5

def preferred_orm
  @preferred_orm
end

#teamObject

Returns the value of attribute team.



5
6
7
# File 'lib/tidewave/configuration.rb', line 5

def team
  @team
end