Sha256: eec96ee7f92eea99ad2b49e35c1258dd466165a6df91dddefa71f9d551807804
Contents?: true
Size: 368 Bytes
Versions: 76
Compression:
Stored size: 368 Bytes
Contents
require 'flydata/api/base' module Flydata module Api class RedshiftCluster < Base def initialize(api_client) @model_name = 'redshift_cluster' @url_path = "/#{@model_name.pluralize}" super end def run_query(sql) @client.post("#{@url_path}/query", nil, {redshift_query: {body: sql}}) end end end end
Version data entries
76 entries across 76 versions & 1 rubygems