Skip to content

Instantly share code, notes, and snippets.

View dxi-stuart's full-sized avatar

Stuart Pennant dxi-stuart

View GitHub Profile
@stuzero
stuzero / snowflake.rb
Created February 17, 2023 01:52
Snowflake SQL API ruby client
class Snowflake
require 'digest'
require 'jwt'
require 'securerandom'
class Client
attr_reader :authorization, :expiration
attr_accessor :account, :region, :user, :private_key_path
def initialize(attributes={})