Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add examples description

  • Loading branch information...
commit d52a010fcb2a37e9ba730cd7474dd1ad151060b7 1 parent 2903136
@yevgenko authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 README.md
View
16 README.md
@@ -40,6 +40,17 @@ The following information is provided back to you for this provider:
}
```
+## Examples
+
+[examples/][] directory contains few simple [sinatra][] apps:
+
+* auth_hash.rb - displays auth hash schema
+* api_consumer.rb - consuming api with [httparty][]
+
+So, make sure you have [sinatra][] and [httparty][] gems and run it as follow:
+
+ SHOPIFY_KEY="apikey" SHOPIFY_SECRET="secret" ruby auth_hash.rb
+
## Contributing
1. Fork it
@@ -47,3 +58,8 @@ The following information is provided back to you for this provider:
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
+
+
+[examples/]:https://github.com/yevgenko/omniauth-shopify/tree/master/examples
+[sinatra]:http://www.sinatrarb.com/
+[httparty]:https://github.com/jnunemaker/httparty
Please sign in to comment.
Something went wrong with that request. Please try again.