Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 45 lines (37 sloc) 0.977 kb
6904e36 updated readme on how to run the examples
Anders Törnqvist authored
1 # encoding: utf-8
2
3 # rename this file key_setup.rb
4 class PivotalTracker
5 API_TOKEN = 'Your-Key'
6 end
7
8 class Zerigo
9 USERNAME = "Your-Username"
10 PASSWORD = "Your-Password"
11 end
12
13 class Chargify
14 API_KEY = 'Your-API-Key'
15 API_PASSWORD = 'x'
16 end
17
18 class Domain
19 USERNAME = 'Your-Username'
20 PASSWORD = 'Your-Password'
21 end
22
23 class Goog
24 GOOGLE_KEY = "Your-Google-Key"
25 end
26
27 if ENV['RESTO_LOCAL'] == "true"
28 puts "All calls are local, see example/fixtures directory. \n"
29 puts "to make remote calls again, type: unset RESTO_LOCAL \n\n"
30
31 require 'ephemeral_response'
32 EphemeralResponse.configure do |config|
33 config.fixture_directory = File.dirname(__FILE__) + "/fixtures"
34 #config.expiration = lambda { one_day * 30 }
35 #config.skip_expiration = true
36 #config.white_list = 'localhost'
37 #config.debug_output = $stderr
38 end
39 EphemeralResponse.activate
40 else
41 puts "All calls are remote, to make local calls:"
42 puts "export RESTO_LOCAL='true'"
43 puts "\n\n"
44 end
Something went wrong with that request. Please try again.