class Prevoty::Column

Attributes

column[R]
database[R]
table[R]

Public Class Methods

new(data) click to toggle source
# File lib/prevoty/responses/query_analysis.rb, line 135
def initialize(data)
  @database = data["database"]
  @table = data["table"]
  @column = data["column"]
end

Public Instance Methods

to_json(options) click to toggle source
# File lib/prevoty/responses/query_analysis.rb, line 141
def to_json(options)
  return {
    database: @database, table: @table, column: @column
  }.to_json
end