simplewoo 0.0.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ce5ee64a12d9b4dba315dfb6befedb743d7d956
4
- data.tar.gz: 561cd207dea0eea08a393a7b0d6faa3f16e1d677
3
+ metadata.gz: 2b7ad2bd4cf318e9b0fec219e5bef755d15fd40f
4
+ data.tar.gz: 01698a29d65d9c2e04c98c30e31c8f7302e67af2
5
5
  SHA512:
6
- metadata.gz: b294c8dce8d1d0106f9ca4b97c6585d1fb8e22134ddea2c6e9d8757258bc237450613d4c92b0e683ffb4a40014e09cbbd654d1e0c7e3c7a8e8aa201d1183f1e9
7
- data.tar.gz: 2fdbbdc9fa747de48bb6e08366d5bc13930ff4df48c03586979b895b775b6f78dbcb5c5c107e44413f9fe1341a4feeb2ddc7f73aa31ee4ec5bce617ed8734811
6
+ metadata.gz: 313a88daf6dcedfefa1983c41fc0f99aeffc77bf549de0967174634f6521d5861212b41b217591e6e6bffb58e3777e238edffcb012374d528a435295d10fcc5a
7
+ data.tar.gz: 03d2ce2ef91762fe0ff9bbdf39e732b4a3ed230ed4f5149dc91c15b69b57c1b2b9e25e6460fe5789a80606d269d1c24357ac2f1efe4474606ba4c0cd50b35201
data/.gitignore CHANGED
@@ -15,3 +15,5 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+
19
+ *.un~
data/README.md CHANGED
@@ -18,6 +18,46 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
+ ### Configuration
22
+
23
+ Simplewoo.configure do |client|
24
+ client.app_secret = "app_secret"
25
+ client.api_server_host = "api.woofound.com"
26
+ client.ssl = true
27
+ end
28
+
29
+ ### Users
30
+
31
+ #### Creating a User
32
+
33
+ client.create_user("email@example.com",
34
+ "password",
35
+ "password",
36
+ "first_name",
37
+ "last_name", {
38
+ :bio => "Some awesome bio.",
39
+ :birthday => "1988-01-01"
40
+ })
41
+
42
+ #### Updating a User
43
+ client.update_user({
44
+ :email => "new_email@example.com",
45
+ :password => "new_password",
46
+ :password_confirmation => "new_password",
47
+ "first_name", "last_name", {
48
+ :bio => "Some awesome bio.",
49
+ :birthday => "1988-01-01"
50
+ })
51
+
52
+ #### Authenticating a User
53
+ client.email = "email@example.com"
54
+ client.password = "password"
55
+ client.authenticate
56
+
57
+ ### Getting Sliders
58
+
59
+ client.sliders
60
+
21
61
  TODO: Write usage instructions here
22
62
 
23
63
  ## Contributing
@@ -1,3 +1,3 @@
1
1
  module Simplewoo
2
- VERSION = "0.0.1"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplewoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Truluck