lib/github_api/response/xmlize.rb in github_api-0.13.0 vs lib/github_api/response/xmlize.rb in github_api-0.13.1

- old
+ new

@@ -2,10 +2,11 @@ require 'faraday' module Github class Response::Xmlize < Response + dependency 'nokogiri' define_parser do |body| ::Nokogiri::XML body end @@ -17,10 +18,10 @@ when 'true' true when 'false' false else - self.class.parser.call body + self.class.parser.call(body) end end end # Response::Xmlize end # Github