mexbt-transfer-api 0.0.3 → 0.0.4

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: 14be930cb3afbb63d5954d5aba4e8648907b6f84
4
- data.tar.gz: bc50d4b44c5af4ebaf558ad44e197bbb0f41c9df
3
+ metadata.gz: 9c1c72391e394a8c5f3d1bb06f753dc515745cb5
4
+ data.tar.gz: 951f2f35abd9b6594217963596abae438481c74c
5
5
  SHA512:
6
- metadata.gz: 401aef1b248a249bea9f849202270043057851a21b1f1d2ef947200b68d718b6daeb8f3d2e7c4d644393942819cced96a925af9ae813ac948bd730e8cbd06a58
7
- data.tar.gz: f69c2e7c1d877e11dbb2f0e7009246c9646cdc673d84b0cffd70b948acc504f80214096c520a47a48607aea4ff7b6cb24b0cb5ebf61f8b8583e7cafa7a745666
6
+ metadata.gz: ff3f4f936f76158e04a9fb5d887e1daf8ecb9feace729c20d547c5a3e3e31967579fb52c943be8c0b2952faff086a55c55d5a5afcdfed7524b14538619c35ee1
7
+ data.tar.gz: 8a451ce22d313262a485dfb7409b47bd7b4ed6a16aac4897846a6aff9a8174d8e75335819e4aa4a4f96e2be424dd6222a03d09d5570a2e1e3497d527ec54f5f6
data/README.md CHANGED
@@ -18,11 +18,11 @@ You need to be using Ruby 2.1 or higher.
18
18
 
19
19
  ## Setting up a client
20
20
 
21
- api = Mexbt::TransferApi.new("your-api-key", "your-api-key", your_client_id)
21
+ api = Mexbt::TransferApi.new("your-api-key", "your-api-secret", your_client_id)
22
22
 
23
23
  If you want to work against another endpoint, you can configure that like:
24
24
 
25
- api = Mexbt::TransferApi.new("your-api-key", "your-api-key", your_client_id, endpoint: "https://transfer-staging.mexbt.com/v1")
25
+ api = Mexbt::TransferApi.new("your-api-key", "your-api-secret", your_client_id, endpoint: "https://transfer-staging.mexbt.com/v1")
26
26
 
27
27
  ## Checking api is up and you can authenticate ok
28
28
 
@@ -55,6 +55,10 @@ module Mexbt
55
55
  call("/orders/#{id}/modify", params)
56
56
  end
57
57
 
58
+ def refund_order(id, params)
59
+ call("/orders/#{id}/refund", params)
60
+ end
61
+
58
62
  def ping
59
63
  call("/ping")
60
64
  end
@@ -1,5 +1,5 @@
1
1
  module Mexbt
2
2
  class TransferApi
3
- CLIENT_VERSION = "0.0.3"
3
+ CLIENT_VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mexbt-transfer-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - williamcoates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-17 00:00:00.000000000 Z
11
+ date: 2015-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport