verticalresponse 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -0
- metadata +8 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96318a9b541c169be00b68a96b084904397d385b
|
4
|
+
data.tar.gz: 89871561f44271648e2ff68bf383684bcb8d9cb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fb79d0ec033543228f4eb5d8152621c0a129cb775537342f88f05a0b2d8ca567a41543008ce864a8e3caf700dce5dc05802a8f065b0375594ee07e19a432247
|
7
|
+
data.tar.gz: cac28274b484ff93c5cbca9b74d153b3036308dfafbb1b56ef7b5b83351b6e43afccf6d13f9d18c6e031fcbf5e711a752d65a3e558f75c57d81a6f7aab9aee94
|
data/README.md
CHANGED
@@ -2,3 +2,38 @@ VerticalResponse
|
|
2
2
|
================
|
3
3
|
|
4
4
|
Gem used to make it easier to connect to VerticalResponse.com's API
|
5
|
+
|
6
|
+
Based on https://github.com/VerticalResponse/v1wrappers/
|
7
|
+
|
8
|
+
90% of the code is the same as the original wrappers. The point here was to put the official VerticalResponse wrappers in a gem, and to allow calling oauth_clients by object instances, identified by access tokens.
|
9
|
+
|
10
|
+
New Functionality
|
11
|
+
-----------------
|
12
|
+
|
13
|
+
Allows instantiating oauth clients by access_token, to access the VerticalResponse API in an object-oriented fashion.
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
oauth_client = VerticalResponse::API::OAuth.new access_token
|
17
|
+
```
|
18
|
+
|
19
|
+
This allows us to get the lists for a verticalresponse user with
|
20
|
+
```ruby
|
21
|
+
oauth_client.lists
|
22
|
+
```
|
23
|
+
|
24
|
+
or the clients with
|
25
|
+
```ruby
|
26
|
+
oauth_client.clients
|
27
|
+
```
|
28
|
+
|
29
|
+
Requirements
|
30
|
+
----------
|
31
|
+
Ruby 1.9+ (compatible with Ruby 2.1.1)
|
32
|
+
|
33
|
+
HTTParty gem
|
34
|
+
|
35
|
+
Note: I only tested these requirements as much as I needed to (not for all functionalities), so you might encounter bugs here and there. But, if the community can make an effort to build this, I'm sure you can make an effort to test that this works for you as well, and even submit fixes wherever possible.
|
36
|
+
|
37
|
+
Contribute
|
38
|
+
----------
|
39
|
+
I only built this for what I needed, and I know it's pretty limited. Contributions are more than welcome
|
metadata
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: verticalresponse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Sridhar Devulkar
|
8
|
+
- Esteban Munoz
|
7
9
|
- Cosmin Atanasiu
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
@@ -11,7 +13,10 @@ cert_chain: []
|
|
11
13
|
date: 2014-06-18 00:00:00.000000000 Z
|
12
14
|
dependencies: []
|
13
15
|
description: 'Gem used to connect to VerticalResponse.com''s API '
|
14
|
-
email:
|
16
|
+
email:
|
17
|
+
- sdevulkar@verticalresponse.com
|
18
|
+
- emunoz@verticalresponse.com
|
19
|
+
- innorogue@gmail.com
|
15
20
|
executables: []
|
16
21
|
extensions: []
|
17
22
|
extra_rdoc_files:
|
@@ -52,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
52
57
|
version: '0'
|
53
58
|
requirements: []
|
54
59
|
rubyforge_project:
|
55
|
-
rubygems_version: 2.
|
60
|
+
rubygems_version: 2.3.0
|
56
61
|
signing_key:
|
57
62
|
specification_version: 4
|
58
63
|
summary: Gem used to connect to VerticalResponse.com's API
|