forked from bastien/recurly-client-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
27 lines (21 loc) · 977 Bytes
/
INSTALL
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
=== Configuration
You should have something like this in config/recurly.yml.
---
username: [email protected]
environment: :sandbox
subdomain: your-recurly-subdomain
password: 12345678901234567890123456789012
private_key: 12345678901234567890123456789012
Alternatively, you may use a file in /config/initializers/recurly.rb with contents:
Recurly.configure do |c|
c.username = '[email protected]'
c.password = 'your_api_key'
c.private_key = 'your_private_key'
c.environment = :production # or :sandbox for test sites
c.subdomain = 'your-recurly-subdomain'
end
The environment variable can be ":sandbox" or ":production". This environment
corresponds with Recurly's sandbox/test sites or production/live sites. Please
note that only Recurly API users should be used with the Recurly ruby client.
Using a user's credentials is not supported.
Please log into Recurly and click "API Credentials" to find your API credentials.