engiven 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/engiven/client.rb +7 -5
- data/lib/engiven/resources/misc.rb +13 -0
- data/lib/engiven/version.rb +1 -1
- data/lib/engiven.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb7adc6ec86850c83673eefb610012cee329626a2eba1a1c79a92eb0c2bb2f02
|
4
|
+
data.tar.gz: 183e4e3cc7c8caab916c2d5193c1a833dcd2a904ee554767ec320751979ad949
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69f983599823ed2b7c7d6fff4b45be97ed4690c8168f22e8b159f8b0a475da5cb535531ed270bf107e266352675d90bad6143e9ff55a9c42cdd40e0a38e9cedd
|
7
|
+
data.tar.gz: 0f78a164376393256a0110755e56723bbe65fa6f56eaac595b3bcb5da7067878162179aa809de752506f8c0a053a277eca40d515205744c7b412b6df533e59d9
|
data/Gemfile.lock
CHANGED
data/lib/engiven/client.rb
CHANGED
@@ -1,15 +1,17 @@
|
|
1
1
|
require 'faraday'
|
2
2
|
|
3
|
-
require '
|
4
|
-
require '
|
5
|
-
require '
|
6
|
-
require '
|
3
|
+
require 'engiven/version'
|
4
|
+
require 'engiven/resources/customer'
|
5
|
+
require 'engiven/resources/fund'
|
6
|
+
require 'engiven/resources/gift'
|
7
|
+
require 'engiven/resources/misc'
|
7
8
|
|
8
9
|
module EngivenAPI
|
9
10
|
class Client
|
10
11
|
include EngivenAPI::Client::Customer
|
11
12
|
include EngivenAPI::Client::Fund
|
12
13
|
include EngivenAPI::Client::Gift
|
14
|
+
include EngivenAPI::Client::Misc
|
13
15
|
|
14
16
|
attr_reader :api_key, :test_mode, :logger, :connection, :adapter, :ssl
|
15
17
|
|
@@ -44,7 +46,7 @@ module EngivenAPI
|
|
44
46
|
headers = {
|
45
47
|
accept: 'application/json',
|
46
48
|
'Authorization' => api_key,
|
47
|
-
'User-Agent' => "engiven-api-ruby-gem/v#{EngivenAPI::VERSION}"
|
49
|
+
'User-Agent' => "engiven-api-ruby-gem/v#{EngivenAPI::VERSION}"
|
48
50
|
}
|
49
51
|
|
50
52
|
client_opts = {
|
data/lib/engiven/version.rb
CHANGED
data/lib/engiven.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engiven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
@@ -86,6 +86,7 @@ files:
|
|
86
86
|
- lib/engiven/resources/customer.rb
|
87
87
|
- lib/engiven/resources/fund.rb
|
88
88
|
- lib/engiven/resources/gift.rb
|
89
|
+
- lib/engiven/resources/misc.rb
|
89
90
|
- lib/engiven/version.rb
|
90
91
|
homepage: https://github.com/taylorbrooks/engiven-api
|
91
92
|
licenses:
|