README.md in recurly-0.3.2 vs README.md in recurly-0.3.3
- old
+ new
@@ -47,23 +47,23 @@
In Rails 2.x, this code should be in config/initializers/recurly.rb
In Sinatra, it should be within a `configure` block.
-Manual Setup via YAML
+Manual Setup via YAML or JSON
--------------
-
You can also configure Recurly via a YAML file by using:
- Recurly.configure_via_yaml("./config/recurly.yml")
+ Recurly.configure_from_yaml("./config/recurly.yml")
-
The Recurly Configuration YAML is in the format of:
username: myrecurlyuser@domain.com
password: myrecurlypassword
site: https://myrecurlysite.recurly.com
+
+The same format could be applied in JSON instead of YAML using: Recurly.configure_from_json('path/to/file.json')
Clearing test data (Rails3)
----------------
The Recurly Railtie (for rails3) includes a rake task that allows you to easily clear out the test data on your Account. This is useful when automating the testing of the api interation within your own app.
\ No newline at end of file