Simplewoo
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'simplewoo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install simplewoo
Usage
Configuration
Simplewoo.configure do |client|
client.app_secret = "app_secret"
client.api_server_host = "api.woofound.com"
client.ssl = true
end
Users
Creating a User
client.create_user("[email protected]",
"password",
"password",
"first_name",
"last_name", {
:bio => "Some awesome bio.",
:birthday => "1988-01-01"
})
Updating a User
client.update_user({
:email => "[email protected]",
:password => "new_password",
:password_confirmation => "new_password",
"first_name", "last_name", {
:bio => "Some awesome bio.",
:birthday => "1988-01-01"
})
Authenticating a User
client.email = "[email protected]"
client.password = "password"
client.authenticate
Getting Sliders
client.sliders
TODO: Write usage instructions here
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request