gifter_hub 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8033d380aa268fa9091f2ec7d1451440e82a68bc
4
- data.tar.gz: c1c860c9ad504b80daa3c35cfe103c16dbfe1b18
3
+ metadata.gz: 7dd45851aad4de6adf84e8ce7b9e4872617f59a9
4
+ data.tar.gz: dbd357bee91c997138e305e4af329c3448d9035c
5
5
  SHA512:
6
- metadata.gz: 95ea867d25a741053e8fc0b44eb1ac7a885338f5dfc81a298f33851914b62734de3472b731482510be041d3ec297c9d8d797732294af438faca2a9d0411b1eca
7
- data.tar.gz: 89c960e72a7906166a416285c782c545934cecbf54836fa2fec1f2956bb42d2a19265d70d2e4d12b3a17bee7643fa4775f8db7e4ab9680cce68bddf611dc5d3a
6
+ metadata.gz: 5d499faef1d4a9771fcddc8acae81ba71e1291def53c80525c02a6ad85816dc038abf92192ebb9a861881bf89150cdc378ff2c639a9716b5c332eb10266aca7f
7
+ data.tar.gz: d374ab2b64b1814868a3da66af4470f8edb6239fc92c7475a4ef9478c2d41a0133cd9c74ebeab3772073885ccd76616fcbab29fabd3881fb271c3e73b204305b
@@ -3,12 +3,13 @@ module GifterHub
3
3
  extend Operations::Create
4
4
 
5
5
  def redeem(params)
6
- response = request(:post, redeem_url, params)
6
+ response = request(:post, resource_url + '/redeem', params)
7
7
  initialize_from(response)
8
8
  end
9
9
 
10
- def redeem_url
11
- resource_url + "/redeem"
10
+ def topup(params)
11
+ response = request(:post, resource_url + '/topup', params)
12
+ initialize_from(response)
12
13
  end
13
14
  end
14
15
  end
@@ -1,3 +1,3 @@
1
1
  module GifterHub
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gifter_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Devhub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-14 00:00:00.000000000 Z
11
+ date: 2018-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler