class Redash::Query
Attributes
api_key[RW]
created_at[RW]
description[RW]
id[RW]
is_archived[RW]
is_draft[RW]
latest_query_data_id[RW]
name[RW]
query[RW]
query_hash[RW]
schedule[RW]
updated_at[RW]
Public Class Methods
new(attrs = {})
click to toggle source
# File lib/redash/query.rb, line 10 def initialize(attrs = {}) @id = attrs['id'] @latest_query_data_id = attrs['latest_query_data_id'] @name = attrs['name'] @description = attrs['description'] @query = attrs['query'] @query_hash = attrs['query_hash'] @schedule = attrs['schedule'] @api_key = attrs['api_key'] @is_archived = attrs['is_archived'] @is_draft = attrs['is_draft'] @updated_at = attrs['updated_at'] @created_at = attrs['created_at'] end