api-resource 0.4.3 → 0.4.4
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/lib/api-resource/resource.rb +1 -1
- data/lib/api-resource/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6afbb3ebeef30833689dd643fe2d4adb207fea3a
|
|
4
|
+
data.tar.gz: 858ed311b43747cfb3b27013d97a34643aebbb4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8baeb9905f08887b6aa068ed08775a587a5ca04c9b899ad8d9623e2701dc7b61f7298f4e4e1daf4d605300cd5cae94eea4c6d3d74930b1bc62e3ab9524323e38
|
|
7
|
+
data.tar.gz: 14ccce8abbe4c02c5b7fe0f5a225e0386498aa201a680b7dac1038a2b29e06bc96df5813aad1d5ab5c829b8deb3b653fd9abc0af685073582c6459fa1a700ec0
|
|
@@ -188,7 +188,7 @@ module ApiResource
|
|
|
188
188
|
|
|
189
189
|
def self.load_class(tableized_class)
|
|
190
190
|
klass = tableized_class && tableized_class.to_s.singularize.classify.constantize rescue nil
|
|
191
|
-
klass if klass < ApiResource::Resource
|
|
191
|
+
klass if klass && klass < ApiResource::Resource
|
|
192
192
|
end
|
|
193
193
|
|
|
194
194
|
def self.client(verb, params, *paths)
|
data/lib/api-resource/version.rb
CHANGED