Class: Adhoq::AdhocExecution

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report_format, raw_sql) ⇒ AdhocExecution

Returns a new instance of AdhocExecution.



6
7
8
9
# File 'lib/adhoq/adhoc_execution.rb', line 6

def initialize(report_format, raw_sql)
  @report_format = report_format
  @raw_sql       = raw_sql
end

Instance Attribute Details

#raw_sqlObject (readonly)

Returns the value of attribute raw_sql.



4
5
6
# File 'lib/adhoq/adhoc_execution.rb', line 4

def raw_sql
  @raw_sql
end

#report_formatObject (readonly)

Returns the value of attribute report_format.



4
5
6
# File 'lib/adhoq/adhoc_execution.rb', line 4

def report_format
  @report_format
end