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 +4 -4
- data/lib/gifter_hub/gift_card.rb +4 -3
- data/lib/gifter_hub/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: 7dd45851aad4de6adf84e8ce7b9e4872617f59a9
|
4
|
+
data.tar.gz: dbd357bee91c997138e305e4af329c3448d9035c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d499faef1d4a9771fcddc8acae81ba71e1291def53c80525c02a6ad85816dc038abf92192ebb9a861881bf89150cdc378ff2c639a9716b5c332eb10266aca7f
|
7
|
+
data.tar.gz: d374ab2b64b1814868a3da66af4470f8edb6239fc92c7475a4ef9478c2d41a0133cd9c74ebeab3772073885ccd76616fcbab29fabd3881fb271c3e73b204305b
|
data/lib/gifter_hub/gift_card.rb
CHANGED
@@ -3,12 +3,13 @@ module GifterHub
|
|
3
3
|
extend Operations::Create
|
4
4
|
|
5
5
|
def redeem(params)
|
6
|
-
response = request(:post,
|
6
|
+
response = request(:post, resource_url + '/redeem', params)
|
7
7
|
initialize_from(response)
|
8
8
|
end
|
9
9
|
|
10
|
-
def
|
11
|
-
resource_url +
|
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
|
data/lib/gifter_hub/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2018-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|