class OmiseGO::Error

Public Instance Methods

error?() click to toggle source
# File lib/omisego/error.rb, line 13
def error?
  true
end
success?() click to toggle source
# File lib/omisego/error.rb, line 9
def success?
  false
end
to_s() click to toggle source
# File lib/omisego/error.rb, line 5
def to_s
  "#{code} - #{description}"
end