pennylane 1.0.1 → 1.0.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/pennylane/resources/base.rb +1 -1
- data/lib/pennylane/util.rb +0 -1
- data/lib/pennylane/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2e821259dc8683a82dd041e681f09c8eee4982f0a945c830709a7dca9409e72
|
|
4
|
+
data.tar.gz: f7a0db763e780102951c050aaca06bcb8c178dbc3524defdaf4cd3389f982733
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f2f0dd8084a8017e40e463f70c9664e0cf684f9e656da437edcb48f30c429a827f38412ff93d61675faf31e56063d88d1ad8bac688a392789d586defd6833b5
|
|
7
|
+
data.tar.gz: e3745c63a10ddb89fff5d114bdff477fcd20ac3341ae7c9f44f27175db5a40f823befdcb3c6658aa336b9f71914ff93c17ba3b74f95934208750c32f49f2dc89
|
data/Gemfile.lock
CHANGED
|
@@ -74,7 +74,7 @@ module Pennylane
|
|
|
74
74
|
# So we can call directly method on the object rather than going through his key
|
|
75
75
|
# Pennylane::Customer.retrieve('any-id').name == Pennylane::Customer.retrieve('any-id').customer.name
|
|
76
76
|
def method_missing(method_name, *args, &block)
|
|
77
|
-
raise NoMethodError, "undefined method `#{method_name}` for #{self.class}" unless object
|
|
77
|
+
raise NoMethodError, "undefined method `#{method_name}` for #{self.class}.\nMethods available : #{@values.keys}" unless object
|
|
78
78
|
object.send(method_name, *args, &block)
|
|
79
79
|
end
|
|
80
80
|
|
data/lib/pennylane/util.rb
CHANGED
|
@@ -32,7 +32,6 @@ module Pennylane
|
|
|
32
32
|
# Since we don't have the ability to change the API response.
|
|
33
33
|
# We can achieve this by calling normalize_response(response, with: {invoice: 'customer_invoice'})
|
|
34
34
|
def normalize_response(object, with={})
|
|
35
|
-
# puts object.inspect
|
|
36
35
|
case object
|
|
37
36
|
when Hash
|
|
38
37
|
new_hash = {}
|
data/lib/pennylane/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pennylane
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephane Bounmy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: vcr
|