finix 0.9 → 0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTY5OTBkODA2MTRjMTg1NWMyNmY2ZjQ3OTZkYjliZDVhY2MyYmUwMw==
4
+ Yzg5Y2E4MmY3NzNhYzJmMjcwNGNmOTdhOTk5ZTA5NzFkMjVkYTE5Zg==
5
5
  data.tar.gz: !binary |-
6
- YTdiYjEwYjUzOTI4MmFkOGU2NDdjNjIwNTgxMjgyZDgxMmI5YWFhNA==
6
+ YTgyMjk3ZDA5NGU2OGYyMDFjODc3YzlkMWM0ODFiOTBlNGYyOWQwNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODg4ODRlODQzNzQ5ZGE2Y2Y0MzZmYmYyYWE1Y2NlMWZlY2RmOGE4ODMxMDRk
10
- M2UzZjM3Nzg0ZTA0OTEwZDYwZGM0ZjdkNTlkYjAzMmZmN2FhZThlYmMzMWEy
11
- M2U3YmMxMGI4YThmMDk3NDdhZTU3ZDJmNTNmMDFjMGM4ZTllZDc=
9
+ NDg5Yzk1ZGYzYTU0YWFlMTZhNDE2MzFmZjYzYmExZWQ4NzI2YWZjYTYyNTY4
10
+ NDgwNTBjMDEwOWM3M2IwNDI1MTZiNWZjNjYwYjZkODgwMWYwNDM4ZjFiNWRl
11
+ OTlmM2U0NGNhYTY2N2YwMzA4OTE1N2NlZWJkN2RlYmNhNDQ3MjU=
12
12
  data.tar.gz: !binary |-
13
- ZTkyYjY5NjZhNTc4ZTQ5ZTMxMGFhYjIxOTcxZWJmM2EwOGQyMWE0Mjk0MTE4
14
- MDk0YzE5ZWI4NjhiZDkxOTdiNzZiYTVkYjBjYzk3ZWExMjliYWRlOTA1YWUz
15
- M2YyMzUyY2YwYjE1NTJjMTUzMTllZGZjNjcyZWJhMGUyNDYyOTU=
13
+ ZTVmZDQ1MzNlNWE4N2Y2Mjc0OWNlODUyMTdjNDYxN2I3MDE4YTViMmYzYzVk
14
+ ZTE0ZjJjZjVkN2E5YWZiMmU5ODllNzFiZjE2MTZmMzEzMGIxOTUwMTM2NGI5
15
+ M2UzMjVkZmRjZTI5MjY3MDkxMDUxY2YzMzdjMjYyNWNiN2NjY2Y=
@@ -13,6 +13,10 @@ module Finix
13
13
  def to_s
14
14
  "#{@errors}"
15
15
  end
16
+
17
+ def inspect
18
+ to_s
19
+ end
16
20
  end
17
21
 
18
22
  class ResourceError
@@ -22,6 +26,14 @@ module Finix
22
26
  @attributes = {}
23
27
  @attributes = @attributes.merge error
24
28
  end
29
+
30
+ def to_s
31
+ "#{self.class.name.split('::').last || ''} #{@attributes}"
32
+ end
33
+
34
+ def inspect
35
+ to_s
36
+ end
25
37
  end
26
38
 
27
39
  class BadRequest < ResourceErrors; end
@@ -91,7 +91,7 @@ module Finix
91
91
  end
92
92
 
93
93
  def inspect
94
- "#{self.class.name.split('::').last || ''} #{@attributes}"
94
+ to_s
95
95
  end
96
96
 
97
97
  def self.included(base)
@@ -1,3 +1,3 @@
1
1
  module Finix
2
- VERSION = '0.9'
2
+ VERSION = '0.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finix
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.9'
4
+ version: '0.10'
5
5
  platform: ruby
6
6
  authors:
7
7
  - finix-payments