class Sunbro::HTTP::RestResponse
Public Instance Methods
clean!()
click to toggle source
# File lib/sunbro/http.rb, line 7 def clean! body.present? rescue ArgumentError body.encode!('UTF-16', 'UTF-8', :invalid => :replace, :replace => '') body.encode!('UTF-8', 'UTF-16') end