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 +4 -4
- data/README.md +2 -2
- data/lib/mexbt_transfer_api.rb +4 -0
- data/lib/mexbt_transfer_api/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: 9c1c72391e394a8c5f3d1bb06f753dc515745cb5
|
|
4
|
+
data.tar.gz: 951f2f35abd9b6594217963596abae438481c74c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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-
|
|
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-
|
|
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
|
|
data/lib/mexbt_transfer_api.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|