Class: Blazer::Api::Configuration
- Inherits:
-
Object
- Object
- Blazer::Api::Configuration
- Defined in:
- lib/blazer/api/configuration.rb
Instance Attribute Summary collapse
-
#authentication ⇒ Object
Returns the value of attribute authentication.
Instance Method Summary collapse
Instance Attribute Details
#authentication ⇒ Object
Returns the value of attribute authentication.
4 5 6 |
# File 'lib/blazer/api/configuration.rb', line 4 def authentication @authentication end |
Instance Method Details
#db ⇒ Object
6 7 8 |
# File 'lib/blazer/api/configuration.rb', line 6 def db @db ||= Sequel.connect(ENV['BLAZER_DATABASE_URL']) end |