obecon-client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- 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