lib/policymap_wrap/client.rb in policymap_wrap-0.3.1 vs lib/policymap_wrap/client.rb in policymap_wrap-0.3.2
- old
+ new
@@ -131,10 +131,10 @@
options = default_options.merge(options)
result = get(Endpoint.endpoint_url, options)
- result['cnt'].collect {|hsh| HashUtils.symbolize_keys(hsh) }
+ result['cnt'].first
end
private
def extract_options!(args)