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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08bb5243acb2061c18e7e6751f700265379487c33daeb07559b03bf7baa5c463'
4
- data.tar.gz: c831fa60265ab8b2b67ab4c80aa48b3bb4edfa3362d442a2ea11b82064f27c5f
3
+ metadata.gz: bb7adc6ec86850c83673eefb610012cee329626a2eba1a1c79a92eb0c2bb2f02
4
+ data.tar.gz: 183e4e3cc7c8caab916c2d5193c1a833dcd2a904ee554767ec320751979ad949
5
5
  SHA512:
6
- metadata.gz: 5ce36461834c680df2c1cb2f9e4cf17290fe903d04610eea726f5a95b2d4629837482b8aa6a336039f9295274828f2299d7cf3ed5a8db1c00e534168939f137a
7
- data.tar.gz: b806b02da1b82a922e23a28f5ae0b1b2969d606cd98120fbe93a12a4eb07c64c10c950dccbffdad33d8374155c3d9112317e799292e876736cb090c36d5340e4
6
+ metadata.gz: 69f983599823ed2b7c7d6fff4b45be97ed4690c8168f22e8b159f8b0a475da5cb535531ed270bf107e266352675d90bad6143e9ff55a9c42cdd40e0a38e9cedd
7
+ data.tar.gz: 0f78a164376393256a0110755e56723bbe65fa6f56eaac595b3bcb5da7067878162179aa809de752506f8c0a053a277eca40d515205744c7b412b6df533e59d9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- engiven (0.0.1)
4
+ engiven (0.0.2)
5
5
  faraday
6
6
  json
7
7
 
@@ -1,15 +1,17 @@
1
1
  require 'faraday'
2
2
 
3
- require './lib/engiven/version'
4
- require './lib/engiven/resources/customer'
5
- require './lib/engiven/resources/fund'
6
- require './lib/engiven/resources/gift'
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 = {
@@ -0,0 +1,13 @@
1
+ module EngivenAPI
2
+ class Client
3
+ module Misc
4
+ def get_supported_crypto
5
+ get('/get-supported-crypto')
6
+ end
7
+
8
+ def get_pricefeed
9
+ get('/get-supported-crypto-pricefeed')
10
+ end
11
+ end
12
+ end
13
+ end
@@ -1,3 +1,3 @@
1
1
  module EngivenAPI
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
data/lib/engiven.rb CHANGED
@@ -1,4 +1,4 @@
1
- require './lib/engiven/client'
1
+ require 'engiven/client'
2
2
 
3
3
  module EngivenAPI
4
4
  end
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.1
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: