class GDataPlus::Exception

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/gdata_plus/exception.rb, line 5
def initialize(response)
  @response = response

  if @response.respond_to? :body
    super(@response.body)
  else
    super("no response provided")
  end
end