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.



74
75
76
77
# File 'lib/sql_query.rb', line 74

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

Instance Attribute Details

#adapterObject

Returns the value of attribute adapter.



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

def adapter
  @adapter
end

#pathObject

Returns the value of attribute path.



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

def path
  @path
end