Sha256: 6ae6613bd16a09e7e86b723aae8f4f06b8f148673037afd2fe9e3c791f915354
Contents?: true
Size: 275 Bytes
Versions: 2
Compression:
Stored size: 275 Bytes
Contents
require 'pp' require "optparse" require 'smartdc' def fixture(name, path='config/fixtures') json = File.read(File.join(File.dirname(__FILE__), '..', path, "/#{name}.json")) MultiJson.decode(json) end def client @client ||= Smartdc.new(fixture('config', 'config')) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smartdc-0.4.0 | lib/cli_helper.rb |
smartdc-0.3.0 | lib/cli_helper.rb |