Permalink
Browse files

version bump and README updated with config info

  • Loading branch information...
jzw committed Sep 20, 2012
1 parent 3f5c67a commit 4afb793ce1295e5c740132b0b4e9023d509c2567
Showing with 18 additions and 2 deletions.
  1. +17 −1 README.md
  2. +1 −1 lib/powa_api/version.rb
View
@@ -3,4 +3,20 @@ powa-api
Ruby interface to the POWA API
-[http://developer.powa.com/guide](http://developer.powa.com/guide)
+[http://developer.powa.com/guide](http://developer.powa.com/guide)
+
+Configuration
+-------------
+
+Yaml example
+
+```yaml
+environment: "sandbox"
+integration_security_key: "KEY-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
+website_authorisation_token: "TOKEN-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
+```
+
+Then
+```ruby
+PowaApi.configure_with("path/to/yaml/file")
+```
View
@@ -1,3 +1,3 @@
module PowaApi
- VERSION = "0.0.0"
+ VERSION = "0.0.1"
end

0 comments on commit 4afb793

Please sign in to comment.