class Omise::Error
Attributes
code[R]
Public Class Methods
new(attributes)
click to toggle source
Calls superclass method
# File lib/omise/error.rb, line 3 def initialize(attributes) @code = attributes["code"] super("#{attributes["message"]} (#{@code})") end