class Apiwha::Error

Attributes

reason[R]

Public Class Methods

new(response) click to toggle source
# File lib/apiwha/error.rb, line 6
def initialize(response)
  @reason = response
end

Public Instance Methods

message() click to toggle source
# File lib/apiwha/error.rb, line 10
def message
  "#{@reason}"
end
Also aliased as: to_s
to_s()
Alias for: message