class Taobao::ApiError

Public Class Methods

new(response) click to toggle source
# File lib/taobao/exceptions/api_error.rb, line 2
def initialize(response)
  @msg = response[:error_response][:msg]
end

Public Instance Methods

to_s() click to toggle source
# File lib/taobao/exceptions/api_error.rb, line 6
def to_s
  @msg
end