pingpp 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ae6fa9a0b8af22141a4244ad31240ef1330fce8
4
- data.tar.gz: 1a97b10e5a513bc765f972c9a8e8f5e30d9d284c
3
+ metadata.gz: 5127b403e336a7e4247957cebc923d002c6462ea
4
+ data.tar.gz: 33a87e3992dfeb01779b5a5a337326c5be751be1
5
5
  SHA512:
6
- metadata.gz: 4698350a37b495e60405ff350c65dca05dfb3bdbbf899232b0cfc62f15e4dcd457aaf0f13e8dcc406a58409792c7830b5467a17abcc7fb0b97f4ea78c69a4daa
7
- data.tar.gz: 105e60780fab302f4600bbae8560cec459f0a9a8975470bfe31ae99de2a4c2e43e9c83caa5a04b6910358eaab49f32f5e98d8c02b78893bf23b6dda6e051db29
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Pingpp
2
- VERSION = '2.2.0'
2
+ VERSION = '2.2.1'
3
3
  end
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.0
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: 2017-12-01 00:00:00.000000000 Z
11
+ date: 2018-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client