hyperwallet-ruby 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c82e6cd9bf3373961740ab8123fab267a9c5d580
4
- data.tar.gz: 560212655416a9ffd456665909d91b88e9f138c7
3
+ metadata.gz: 2dd11fa44960fe548891483b36b1529241c7e442
4
+ data.tar.gz: 96d3b0a9c285f2327ccaa5f2f131b1457da9105c
5
5
  SHA512:
6
- metadata.gz: 5aaa2a566867694b8df37f0c56cefb092be1277d5f153cb387be116fe6f700b18e56407c35724846e1ebd718dcf074b20abe3220f34cc580911f0a729708327b
7
- data.tar.gz: 43051f6f7e9b2026183e14643f18ede31651728efa899efb2a1f60c0dc48f56e8b003b507888879a0db81cef0909deabe9c9516c2ea773d4808de46e209a783f
6
+ metadata.gz: 0b4e139449fb32ff1501854967119a3cc0b7f248dcaa78b2384890fc346fc3afb8ccaf6198477ce21b10440f96f5d8876e6eb0a09f9311147b688746892bbf2d
7
+ data.tar.gz: 60f05bdae06db29a9c4774023684af189dd9d494a437deb8c13743d9780656bc6d3f49c65394670ec95f75f46c2b7314e43101e41ebf7b73e07140030f5b4310
data/README.md CHANGED
@@ -49,6 +49,15 @@ To create a payment:
49
49
  Hyperwallet::Payment.create({valid: payment_data})
50
50
  ```
51
51
 
52
+ ## TODO
53
+
54
+ 1. Add Prepaid Cards methods - WIP
55
+ 2. Add Bank Accounts methods - WIP
56
+ 3. Add Status Transitions methods - WIP
57
+ 4. Add Transfer Method Configurations methods - WIP
58
+ 5. Add Balances methods - WIP
59
+ 6. Add Programs method - WIP
60
+ 7. Add Accounts method - WIP
52
61
 
53
62
  ## Development
54
63
 
@@ -58,7 +67,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
58
67
 
59
68
  ## Contributing
60
69
 
61
- Bug reports and pull requests are welcome on GitHub at https://github.com/Devato/hyperwallet-rails.
70
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Devato/hyperwallet-ruby.
62
71
 
63
72
 
64
73
  ## License
@@ -1,6 +1,16 @@
1
1
  module Hyperwallet
2
2
  class Payment < HyperwalletObject
3
3
 
4
+ def self.all
5
+ res = Hyperwallet.request(:get, '/payments')
6
+ convert_to_hyperwallet_object(res, Payment)
7
+ end
8
+
9
+ def self.find(key)
10
+ res = Hyperwallet.request(:get, "/payments/#{key}")
11
+ convert_to_hyperwallet_object(res, Payment)
12
+ end
13
+
4
14
  def self.create(params={})
5
15
  res = Hyperwallet.request(:post, '/payments', params)
6
16
  convert_to_hyperwallet_object(res, Payment)
@@ -1,3 +1,3 @@
1
1
  module Hyperwallet
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyperwallet-ruby
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
  - Troy Martin