purevolume 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.txt +9 -3
- data/lib/purevolume.rb +1 -1
- metadata +1 -1
data/README.txt
CHANGED
@@ -32,7 +32,13 @@ The Purevolume gem enables posting to Purevolume.com using your email/login-name
|
|
32
32
|
|
33
33
|
account = Purevolume::Client.new( 'glue', 'password' )
|
34
34
|
|
35
|
-
2.
|
35
|
+
2. Authenticate the account
|
36
|
+
|
37
|
+
* Connect up to PureVolume
|
38
|
+
|
39
|
+
account.authenticate
|
40
|
+
|
41
|
+
3. Get more info about the user's account & check if they are a valid user
|
36
42
|
|
37
43
|
* Check if the user is valid
|
38
44
|
|
@@ -44,13 +50,13 @@ The Purevolume gem enables posting to Purevolume.com using your email/login-name
|
|
44
50
|
|
45
51
|
response #=> {"rsp"=>{"site"=>{"name"=>"Glue Artist", "profile"=>"http://www.purevolume.com/GlueArtist", "type"=>:artist, "blog"=>"http://www.purevolume.com/GlueArtist/posts"}, "stat"=>"ok"}}
|
46
52
|
|
47
|
-
|
53
|
+
4. Post your Content
|
48
54
|
|
49
55
|
* Both Title and Body are required - Set to a variable to check the response
|
50
56
|
|
51
57
|
response = account.post("My Title", "My Body")
|
52
58
|
|
53
|
-
|
59
|
+
5. Get a success or error hash back
|
54
60
|
|
55
61
|
* A Successful response would look like this
|
56
62
|
|
data/lib/purevolume.rb
CHANGED