Class: SqlQuery::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



70
71
72
73
# File 'lib/sql_query.rb', line 70

def initialize
  @path = '/app/sql_queries'
  @adapter = ActiveRecord::Base
end

Instance Attribute Details

#adapterObject

Returns the value of attribute adapter.



68
69
70
# File 'lib/sql_query.rb', line 68

def adapter
  @adapter
end

#pathObject

Returns the value of attribute path.



68
69
70
# File 'lib/sql_query.rb', line 68

def path
  @path
end