wepay 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wepay.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a668af1300146fcaaaa8c5408d0162a4d7a3daf8
|
4
|
+
data.tar.gz: 117574cf7c9add4e715cb7ddea8f0e8d56f80d83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d542cf654dddd54337de91100edc2f3a4e02bb3c16cfbb3e19a77d9d5cd584ba36716fbea144035ea1a7d630f1ec50dabe7e3b0d7f98d6b879010610917aba6
|
7
|
+
data.tar.gz: 51186b9529f0eaadfc2e9e5ec5b83a45c60b9fec011e8e0496313ec0781c08d9a6e578c5a57ee97b4cac60a30457edbc1276974fd067914a9d123a1d84db9315
|
data/lib/wepay.rb
CHANGED
@@ -87,10 +87,10 @@ module WePay
|
|
87
87
|
user_name = false,
|
88
88
|
permissions = "manage_accounts,collect_payments,view_user,send_money,preapprove_payments,manage_subscriptions"
|
89
89
|
)
|
90
|
-
url = @ui_endpoint
|
91
|
-
|
92
|
-
|
93
|
-
|
90
|
+
url = @ui_endpoint +
|
91
|
+
'/oauth2/authorize?client_id=' + @client_id.to_s +
|
92
|
+
'&redirect_uri=' + redirect_uri +
|
93
|
+
'&scope=' + permissions
|
94
94
|
|
95
95
|
url += user_name ? '&user_name=' + CGI::escape(user_name) : ''
|
96
96
|
url += user_email ? '&user_email=' + CGI::escape(user_email) : ''
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wepay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WePay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: The WePay SDK for Ruby lets you easily make WePay API calls from Ruby.
|
14
14
|
email: api@wepay.com
|