Class: Blazer::Api::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authenticationObject

Returns the value of attribute authentication.



4
5
6
# File 'lib/blazer/api/configuration.rb', line 4

def authentication
  @authentication
end

Instance Method Details

#dbObject



6
7
8
# File 'lib/blazer/api/configuration.rb', line 6

def db
  @db ||= Sequel.connect(ENV['BLAZER_DATABASE_URL'])
end