Class: Savon::DeprecatedOptionError

Inherits:
Error
  • Object
show all
Defined in:
lib/savon.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(option) ⇒ DeprecatedOptionError

Returns a new instance of DeprecatedOptionError.



12
13
14
15
# File 'lib/savon.rb', line 12

def initialize(option)
  @option = option
  super("#{option} is deprecated as it is not supported in Faraday. See https://github.com/savonrb/savon/blob/main/UPGRADING.md for more information.")
end

Instance Attribute Details

#optionObject

Returns the value of attribute option.



11
12
13
# File 'lib/savon.rb', line 11

def option
  @option
end