pingpp 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pingpp/batch_transfer.rb +0 -5
- data/lib/pingpp/transfer.rb +0 -5
- data/lib/pingpp/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: 5127b403e336a7e4247957cebc923d002c6462ea
|
4
|
+
data.tar.gz: 33a87e3992dfeb01779b5a5a337326c5be751be1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca042747a3a74a543b64a9e37df200e2233b91bae4a97ec6756ff54ccc32b5e62d372b6adfc146793541ff4699c064f99d1ae352c30bdaf15fa248c9b1c7fa2e
|
7
|
+
data.tar.gz: 419e4c88c81e52b15c2566d4cf8f4f1651e80d9c4c6db35d7d3fb75545919732505ec91e2b7cdcc6e29057957d91b570dcfce1e7effe2299aaf67f8564d5bddd
|
@@ -2,7 +2,6 @@ module Pingpp
|
|
2
2
|
class BatchTransfer < APIResource
|
3
3
|
extend Pingpp::APIOperations::Create
|
4
4
|
extend Pingpp::APIOperations::List
|
5
|
-
include Pingpp::APIOperations::Update
|
6
5
|
|
7
6
|
def self.object_name
|
8
7
|
'batch_transfer'
|
@@ -11,9 +10,5 @@ module Pingpp
|
|
11
10
|
def self.resource_url(opts={})
|
12
11
|
'/v1/batch_transfers'
|
13
12
|
end
|
14
|
-
|
15
|
-
def self.cancel(id, opts={})
|
16
|
-
update(id, {:status => 'canceled'}, opts)
|
17
|
-
end
|
18
13
|
end
|
19
14
|
end
|
data/lib/pingpp/transfer.rb
CHANGED
@@ -2,15 +2,10 @@ module Pingpp
|
|
2
2
|
class Transfer < APIResource
|
3
3
|
extend Pingpp::APIOperations::Create
|
4
4
|
extend Pingpp::APIOperations::List
|
5
|
-
include Pingpp::APIOperations::Update
|
6
5
|
|
7
6
|
def self.resource_url(opts={})
|
8
7
|
'/v1/transfers'
|
9
8
|
end
|
10
9
|
|
11
|
-
def self.cancel(id, opts={})
|
12
|
-
update(id, {:status => 'canceled'}, opts)
|
13
|
-
end
|
14
|
-
|
15
10
|
end
|
16
11
|
end
|
data/lib/pingpp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pingpp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Xufeng Weng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|