Class: Purview::Parsers::SQL

Inherits:
Base show all
Defined in:
lib/purview/parsers/sql.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Mixins::Logger

#logger, #logger_opts, #logger_type, #with_context_logging

Constructor Details

This class inherits a constructor from Purview::Parsers::Base

Instance Method Details

#parse(data) ⇒ Object



4
5
6
# File 'lib/purview/parsers/sql.rb', line 4

def parse(data)
  data.rows
end

#validate(data) ⇒ Object



8
9
10
# File 'lib/purview/parsers/sql.rb', line 8

def validate(data)
  true
end