obecon-client 0.0.3 → 0.0.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.
- data/lib/obecon/response_wrapper.rb +1 -2
- data/lib/obecon/version.rb +1 -1
- metadata +1 -1
|
@@ -57,8 +57,7 @@ module Obecon
|
|
|
57
57
|
|
|
58
58
|
def method_missing(method_name, *args, &block)
|
|
59
59
|
mapped_slot = ResponseWrapper.const_get method_name.upcase
|
|
60
|
-
|
|
61
|
-
result.size == 1 ? result.first : result if result
|
|
60
|
+
@slot_map[mapped_slot.to_sym]
|
|
62
61
|
end
|
|
63
62
|
|
|
64
63
|
private
|
data/lib/obecon/version.rb
CHANGED