Sha256: 9bbf003e1bb7ca0c16f515f10a4c92420b7c6067e8b1fbb2a27e3d865fb5150e
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
#!/usr/bin/env ruby require "bundler/setup" require "dotenv/load" require "zesty" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. def client @client ||= begin puts "Signing in..." token = Zesty::Auth.get_token(ENV["EMAIL"], ENV["PASSWORD"]) puts "Client authenticated." Zesty::Client.new(token, ENV["INSTANCE_ZUID"]) end end # (If you use this, don't forget to add pry to your Gemfile!) # require "pry" # Pry.start require "irb" IRB.start(__FILE__)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zesty-0.1.0 | bin/console |