Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.0.8
Fetching contributors…

Cannot retrieve contributors at this time

file 44 lines (37 sloc) 0.977 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
# encoding: utf-8

# rename this file key_setup.rb
class PivotalTracker
  API_TOKEN = 'Your-Key'
end

class Zerigo
  USERNAME = "Your-Username"
  PASSWORD = "Your-Password"
end

class Chargify
  API_KEY = 'Your-API-Key'
  API_PASSWORD = 'x'
end

class Domain
  USERNAME = 'Your-Username'
  PASSWORD = 'Your-Password'
end

class Goog
  GOOGLE_KEY = "Your-Google-Key"
end

if ENV['RESTO_LOCAL'] == "true"
  puts "All calls are local, see example/fixtures directory. \n"
  puts "to make remote calls again, type: unset RESTO_LOCAL \n\n"

  require 'ephemeral_response'
  EphemeralResponse.configure do |config|
    config.fixture_directory = File.dirname(__FILE__) + "/fixtures"
    #config.expiration = lambda { one_day * 30 }
    #config.skip_expiration = true
    #config.white_list = 'localhost'
    #config.debug_output = $stderr
  end
  EphemeralResponse.activate
else
  puts "All calls are remote, to make local calls:"
  puts "export RESTO_LOCAL='true'"
  puts "\n\n"
end
Something went wrong with that request. Please try again.