shapeshiftio 0.0.2 → 0.0.3

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: 7b62b2c2299505f6afc19972515c0815ae04a575
4
- data.tar.gz: 8f16403ea3b4014c420fe1e114f5235f80a412af
3
+ metadata.gz: dda1cd5a1253ee0e6ff505faef192ccbf0329db1
4
+ data.tar.gz: abf87fe93a2e881056c568ca3e25d2934a5c8224
5
5
  SHA512:
6
- metadata.gz: 27ff68cd37d4e8215b1fbcc4d349db05c8e3f93c580d6e63fe3ad710798ae764260488cb837d86d3ab10fa67bb0976ab4db96e83831ddb6b13cfac8de020f485
7
- data.tar.gz: fe2daff0ba4698a62664c1032655f7bbebc0d108390be0fc6c34d13164be265948db4faa1bb1d59ddc05fca7142440d44d65987bdb2bcf385534c7fd72b3f1ca
6
+ metadata.gz: a1b950ec9bc567b834a493ee83d1476bae476550280ac0cced9b6e82045c31e9217c1db06fb758855342760bb844ee5572050c69c047737fb364016601f0e850
7
+ data.tar.gz: f1fd43de63469e764ebf71ed0ea9c27cded025f269dfb94ba05ccf67f5ed014ec80a23e2073fe13a0d3667a65cb868e574a96b6180af0f63c7fd1d75807d4944
data/README.md CHANGED
@@ -60,33 +60,33 @@ Validate an address, given a currency symbol and address.
60
60
 
61
61
  # Normal Transaction (convert coin):
62
62
 
63
- withdrawal = the address for resulting coin to be sent to
64
- pair = what coins are being exchanged in the form [input coin]_[output coin]
65
- returnAddress = (Optional) address to return deposit to if anything goes wrong with the exchange
66
- destTag = (Optional) Destination tag that you want appended to a Ripple payment to you
67
- rsAddress = (Optional) For new NXT accounts to be funded, you supply this on NXT payment to you
68
- apiKey = (Optional) Your affiliate PUBLIC KEY
63
+ withdrawal = the address for resulting coin to be sent to<br>
64
+ pair = what coins are being exchanged in the form [input coin]_[output coin]<br>
65
+ returnAddress = (Optional) address to return deposit to if anything goes wrong with the exchange<br>
66
+ destTag = (Optional) Destination tag that you want appended to a Ripple payment to you<br>
67
+ rsAddress = (Optional) For new NXT accounts to be funded, you supply this on NXT payment to you<br>
68
+ apiKey = (Optional) Your affiliate PUBLIC KEY<br>
69
69
 
70
- example data: {"withdrawal":"AAAAAAAAAAAAA", "pair":"btc_ltc", returnAddress:"BBBBBBBBBBB"}
70
+ example data: {"withdrawal":"AAAAAAAAAAAAA", "pair":"btc_ltc", returnAddress:"BBBBBBBBBBB"}<br>
71
71
 
72
72
  Shapeshiftio.shift("AAAAAAAAAAAAA","btc_ltc",options = {"returnAddress" : "BBBBBBBBBBB"})
73
73
  Shapeshiftio.shift("RIPPLE ADDRESS","ltc_xrp",options = {"returnAddres" : "RIPPLE ADDRESS", "destTag" : "RIPPLE ADDRESS TAG"})
74
74
 
75
75
  # Request Email Receipt
76
- email = the address for receipt email to be sent to
77
- txid = the transaction id of the transaction TO the user (ie the txid for the withdrawal NOT the deposit)
78
- example data {"email":"mail@example.com", "txid":"123ABC"}
76
+ email = the address for receipt email to be sent to<br>
77
+ txid = the transaction id of the transaction TO the user (ie the txid for the withdrawal NOT the deposit)<br>
78
+ example data {"email":"mail@example.com", "txid":"123ABC"}<br>
79
79
 
80
80
  Shapeshiftio.receipt("mail@example.com","123ABC")
81
81
 
82
82
  # Fixed Amount Transaction / Quote Send Exact Price
83
- amount = the amount to be sent to the withdrawal address
84
- withdrawal = the address for coin to be sent to
85
- pair = what coins are being exchanged in the form [input coin]_[output coin]
86
- returnAddress = (Optional) address to return deposit to if anything goes wrong with exchange
87
- destTag = (Optional) Destination tag that you want appended to a Ripple payment to you
88
- rsAddress = (Optional) For new NXT accounts to be funded, supply this on NXT payment to you
89
- apiKey = (Optional) Your affiliate PUBLIC KEY
83
+ amount = the amount to be sent to the withdrawal address<br>
84
+ withdrawal = the address for coin to be sent to<br>
85
+ pair = what coins are being exchanged in the form [input coin]_[output coin]<br>
86
+ returnAddress = (Optional) address to return deposit to if anything goes wrong with exchange<br>
87
+ destTag = (Optional) Destination tag that you want appended to a Ripple payment to you<br>
88
+ rsAddress = (Optional) For new NXT accounts to be funded, supply this on NXT payment to you<br>
89
+ apiKey = (Optional) Your affiliate PUBLIC KEY<br>
90
90
 
91
91
  Shapeshiftio.fixed(amount, wallet_address, coin_pair, options = {})
92
92
  Shapeshiftio.quote(amount, coin_pair)
@@ -1,3 +1,3 @@
1
1
  module Shapeshiftio
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/shapeshiftio.rb CHANGED
@@ -1,4 +1,4 @@
1
- require "shapeshift/version"
1
+ require "shapeshiftio/version"
2
2
  require 'net/http'
3
3
  require 'json'
4
4
  module Shapeshiftio
data/shapeshiftio.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["ricardo.malafaia1994@gmail.com"]
11
11
 
12
12
  spec.summary = %q{A complete functional Ruby wrapper for the shapeshift.io API.}
13
- spec.description = %q{}
13
+ spec.description = %q{Only use versions above 0.0.3!}
14
14
  spec.homepage = "https://github.com/rbm4/shapeshiftio"
15
15
  spec.license = "MIT"
16
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shapeshiftio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ricardo Malafaia
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: ''
41
+ description: Only use versions above 0.0.3!
42
42
  email:
43
43
  - ricardo.malafaia1994@gmail.com
44
44
  executables: []