colppy 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/colppy/client.rb +2 -2
- data/lib/colppy/version.rb +1 -1
- 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: fac0bc6869e657538aa64b3b62e425587ed581d4
|
4
|
+
data.tar.gz: 0a3678a241e9fa85ea9e18a4d103b13f7b692e97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 026084bc0fc65636a75ea41a978caa81ee909c21b6c5675864e657822e986f73585475f3da3255ba0b0b3a00a5ca72a20c3e5511527e4a86416b6a873a019efe
|
7
|
+
data.tar.gz: c37d3e0fbca198eb3f6fc1a847675acb06a4d9226e0f01739352d9ed8ee90afa175c77d1462164793bccbde6d9200c6f28652c9b8bc5e13d230491ebbdf029ae
|
data/lib/colppy/client.rb
CHANGED
@@ -4,12 +4,12 @@ module Colppy
|
|
4
4
|
include Digest
|
5
5
|
SERVICES_MANIFEST = Core::SERVICES.freeze
|
6
6
|
|
7
|
-
def initialize(auth_user, auth_pass, user)
|
7
|
+
def initialize(auth_user, auth_pass, user, mode = "sandbox")
|
8
8
|
ensure_user_valid!(user)
|
9
9
|
|
10
10
|
@auth_user = auth_user
|
11
11
|
@auth_pass = md5(auth_pass)
|
12
|
-
@gateway = Core::Gateway.new
|
12
|
+
@gateway = Core::Gateway.new(mode)
|
13
13
|
if user
|
14
14
|
@user = user
|
15
15
|
sign_in
|
data/lib/colppy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: colppy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agustin Cavilliotti
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|