billingrails 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 51e32909ce012de12e828bc182f1d551c6fdec8f495ce7bd86990174e29ae2bd
4
- data.tar.gz: fe67a0677ae3ac21c849c05a95d7c979ad50fa714cc1f5657421908293eb4e18
3
+ metadata.gz: 578d04e03ffeda8152c01935292f52b588d735dd51410fd1cd1b738f207f8ea4
4
+ data.tar.gz: 0e717f9b4d706c23c22e1cd73858f43af220c1a44515c0b4f5a6e4f1bd3aec61
5
5
  SHA512:
6
- metadata.gz: 7d0200556471c793462be1bd2151aba7aa413cb2ef09908f613ed14b4b6d4c8f18920b31671fa2a33a396f9cfcac2c9b467069325b5ec3b288261a1352667a56
7
- data.tar.gz: 5abc2ecbc45b64538e8cb26629305a8a42471e5667960204ee9b081f563fd8ad910a9864660bf85533f9e34f57da528b50d62a8730cf31e65ca859ee0450a7d4
6
+ metadata.gz: 6ca2172ccfe271014ff2dfb8a6cdd16486334345b6dabf53e992112560e170dfe02e8fa7884d0a2411f0231567eb2485612024b545172e2cdbdce5e5d276e279
7
+ data.tar.gz: 284159ff6cf0727e3315ee82b06ecdc7536f4e98a3ef70b64a2e0d7f5962420e0b4a1dd27eceffb3e7d8e87096822c80f95ff6d305cc29bb4d80d9d2ab27e4d1
data/README.md CHANGED
@@ -36,8 +36,8 @@ client = Billingrails::Client.new(
36
36
  base_url: 'https://api.billingrails.com/v1' # optional
37
37
  )
38
38
 
39
- accounts_response = client.accounts.list
40
- puts accounts_response['accounts']
39
+ list_response = client.accounts.list
40
+ puts list_response['accounts']
41
41
 
42
42
  # Create account
43
43
  create_response = client.accounts.create(
@@ -83,6 +83,7 @@ rescue Billingrails::ApiError => e
83
83
  puts "API error: #{e.message}"
84
84
  puts "Status: #{e.status}"
85
85
  puts "Code: #{e.code}"
86
+ puts "Details: #{e.details}"
86
87
  rescue Billingrails::ConnectionError => e
87
88
  puts "Connection error: #{e.message}"
88
89
  end
@@ -111,3 +112,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/billin
111
112
  ## License
112
113
 
113
114
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
115
+
116
+ ## Support
117
+
118
+ For support, please contact [ugo@billingrails.com](mailto:ugo@billingrails.com) or visit our [documentation](https://docs.billingrails.com).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Billingrails
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billingrails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Billingrails