Sha256: 38ff3e3f7cbdff072b83a1c7b61893a80c2c12a9cce6e2b49d8b5d095df75dd9
Contents?: true
Size: 615 Bytes
Versions: 3
Compression:
Stored size: 615 Bytes
Contents
#!/usr/bin/env ruby require 'bundler/setup' require 'zinc' require 'awesome_print' require 'pry' begin Zinc.api_path = File.read('/tmp/.zinc-api-path').chomp puts "Zinc.api_path: #{Zinc.api_path}" rescue Errno::ENOENT puts "No /tmp/.zinc-api-path file, using default: #{Zinc.api_path}" end begin Zinc.access_token = File.read('/tmp/.zinc-access-token').chomp puts "Zinc.access_token: #{Zinc.access_token}" rescue Errno::ENOENT puts "No /tmp/.zinc-access-token file - you'll have to set Zinc.access_token manually from the console." end Zinc.logger.level = Logger::DEBUG AwesomePrint.pry! Pry.start
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zinc-api-0.0.6 | bin/console |
zinc-api-0.0.5 | bin/console |
zinc-api-0.0.4 | bin/console |