Method: JMA::Error#build_error_message
- Defined in:
- lib/jma/error.rb
#build_error_message ⇒ Object
110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/jma/error.rb', line 110 def return nil if @response.nil? if @response.methods.include? :code "#{@response.code} - #{@response.}" else = "#{@response[:method].to_s.upcase} ".dup << "#{@response[:url]}: " << (@response[:status]).to_s end end |