lib/open311/client/service.rb in open311-0.3.0 vs lib/open311/client/service.rb in open311-0.3.1

- old
+ new

@@ -43,13 +43,10 @@ def service_requests(options = {}) merge_options!(options) response = get('requests', options) unpack_if_xml(response) do return [] unless response.service_requests.respond_to? :request - - response.service_requests.request.map do |_request| - response['service_requests']['request'] - end + response['service_requests']['request'] end end # @format :xml # @key true