class TwelvedataRuby::Error

Constants

DEFAULT_MSGS

Attributes

attrs[R]

Public Class Methods

new(args={}) click to toggle source
Calls superclass method
# File lib/twelvedata_ruby/error.rb, line 17
def initialize(args={})
  @attrs = args[:attrs] || {}
  super((args[:message] || DEFAULT_MSGS[Utils.demodulize(self.class)]) % @attrs)
end