class Prevoty::Table

Attributes

database[R]
table[R]

Public Class Methods

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

Public Instance Methods

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