gifter_hub 0.1.6 → 0.1.7

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: f6421adf303b496bbc2799651293a51af79b1e64
4
- data.tar.gz: 5e3288f7cbdc4fb5cd6b31c23d77473fc94e09bf
3
+ metadata.gz: 881c1a762221380b16028da8294b77ac17530c8a
4
+ data.tar.gz: 11add6d49f78e90e1fadd4ec79856ae0f53f3480
5
5
  SHA512:
6
- metadata.gz: ae40a7659dfd826a339c7d3cba933dbb6c62f3447bcf58aff5b5069fb303c370a61add7ad5c17181265d947ecaae7c7111a7a60e1317706656a354df5b291875
7
- data.tar.gz: 6c780b34af58be89ed8bfbfc40c76aa3d81cf9dfa98eddfbd35349e88d8c890fd9d5584a19c9137c7f6c959ebf186dc809665771b9232ae6525a30f31501a470
6
+ metadata.gz: 4ae5cae225cde304e5f6c52e873ecf95be7f65eb44311e883eeccd7ac397021f08adfcf09f668623b3e9645b2676b9ab6ec522365c5d3f1e01cb88a9b1461138
7
+ data.tar.gz: 6fe0b54298080ff34755c8f6cd1ed806be2e42bb3cf6c8ef725dd1659049bdf3369b84fdedcbb3f0e712a66ef9d051973eeee5c827b0af3bca1adc785c46f8cf
@@ -3,13 +3,13 @@ require 'json'
3
3
  require 'active_support/inflector'
4
4
 
5
5
 
6
- require "gifter_hub/version"
7
- require "gifter_hub/util"
8
- require "gifter_hub/operations/get"
9
- require "gifter_hub/operations/create"
6
+ require_relative "gifter_hub/version"
7
+ require_relative "gifter_hub/util"
8
+ require_relative "gifter_hub/operations/get"
9
+ require_relative "gifter_hub/operations/create"
10
10
 
11
- require "gifter_hub/api_resource"
12
- require "gifter_hub/gift_card"
11
+ require_relative "gifter_hub/api_resource"
12
+ require_relative "gifter_hub/gift_card"
13
13
 
14
14
  module GifterHub
15
15
  @api_version = nil
@@ -11,5 +11,9 @@ module GifterHub
11
11
  response = request(:post, resource_url + '/topup', params)
12
12
  initialize_from(response)
13
13
  end
14
+
15
+ def transactions(params={})
16
+ request(:get, resource_url + '/transactions', params)
17
+ end
14
18
  end
15
19
  end
@@ -1,3 +1,3 @@
1
1
  module GifterHub
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
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.6
4
+ version: 0.1.7
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-21 00:00:00.000000000 Z
11
+ date: 2018-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler