shapeshift 0.1.0 → 0.1.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 +4 -4
 - data/lib/shapeshift.rb +2 -2
 - data/lib/shapeshift/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: dbbe6cefdd0ffc897d783ccb83cd9479a1a0bcef
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: bdb0064086aff4780d735b9cab1cf6701ccd0e3b
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: ad1bd24b2c3a2b173c9f5d6591b5823d7ab3ee3f2a773b35bcc1a00f9f96dbed4e4aee02c09002bcdac160a4a0ad4c93aec33351a3eb6f00e2b92c1dd805f849
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 0d3033a2fa35f70377786389a9af73bc70b46cc8d99d12e22441db1409b26a7ceea4512cf950afb7f22547e883109db08b7b087b7da4f071bd12051e5c1b0460
         
     | 
    
        data/lib/shapeshift.rb
    CHANGED
    
    | 
         @@ -51,7 +51,7 @@ module Shapeshift 
     | 
|
| 
       51 
51 
     | 
    
         
             
                  "returnAddress" => "#{return_address}"
         
     | 
| 
       52 
52 
     | 
    
         
             
                  # destTag    = (Optional) Destination tag that you want appended to a Ripple payment to you
         
     | 
| 
       53 
53 
     | 
    
         
             
                  # rsAddress  = (Optional) For new NXT accounts to be funded, you supply this on NXT payment to you
         
     | 
| 
       54 
     | 
    
         
            -
                   
     | 
| 
      
 54 
     | 
    
         
            +
                  "apiKey" => "db37c2139a497e6faded962d7b38b0511922accd69fd1574d7bc1108e0579cae2f71d439e545f4c18cda450228f1a3998244086d94fcacc7008bb75b80502d2d"
         
     | 
| 
       55 
55 
     | 
    
         
             
                }.to_json
         
     | 
| 
       56 
56 
     | 
    
         
             
                response = http.request(request)
         
     | 
| 
       57 
57 
     | 
    
         
             
                puts (response.body)
         
     | 
| 
         @@ -81,9 +81,9 @@ module Shapeshift 
     | 
|
| 
       81 
81 
     | 
    
         
             
                  "withdrawal" => "#{wallet_address}",
         
     | 
| 
       82 
82 
     | 
    
         
             
                  "coin_pair" => "#{coin_pair}",
         
     | 
| 
       83 
83 
     | 
    
         
             
                  "returnAddress" => "#{return_address}"
         
     | 
| 
      
 84 
     | 
    
         
            +
                  "apiKey" => "db37c2139a497e6faded962d7b38b0511922accd69fd1574d7bc1108e0579cae2f71d439e545f4c18cda450228f1a3998244086d94fcacc7008bb75b80502d2d"
         
     | 
| 
       84 
85 
     | 
    
         
             
                  # destTag    = (Optional) Destination tag that you want appended to a Ripple payment to you
         
     | 
| 
       85 
86 
     | 
    
         
             
                  # rsAddress  = (Optional) For new NXT accounts to be funded, you supply this on NXT payment to you
         
     | 
| 
       86 
     | 
    
         
            -
                  # apiKey     = (Optional) Your affiliate PUBLIC KEY, for volume tracking, affiliate payments, split-shifts, etc...
         
     | 
| 
       87 
87 
     | 
    
         
             
                }.to_json
         
     | 
| 
       88 
88 
     | 
    
         
             
                response = http.request(request)
         
     | 
| 
       89 
89 
     | 
    
         
             
              end
         
     | 
    
        data/lib/shapeshift/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: shapeshift
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Trevor Johnson
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2017-07- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2017-07-15 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     |