class Angelo::RequestError
Attributes
code=[RW]
type[RW]
Public Class Methods
new(msg = nil, type = nil)
click to toggle source
Calls superclass method
# File lib/angelo.rb, line 114 def initialize msg = nil, type = nil case msg when Hash @msg_hash = msg else super(msg) end self.type = type if type end
Public Instance Methods
message()
click to toggle source
Calls superclass method
# File lib/angelo.rb, line 128 def message @msg_hash || super end