Class: Sipity::ConversionError

Inherits:
PowerConverter::ConversionError
  • Object
show all
Defined in:
app/models/sipity.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, **options) ⇒ ConversionError

Returns a new instance of ConversionError.


91
92
93
94
95
# File 'app/models/sipity.rb', line 91

def initialize(value, **options)
  options[:scope] ||= nil
  options[:to]    ||= nil
  super(value, options)
end