class SpookAndPay::Providers::Base::InvalidOptionsError
An error used when validating the contents of an options hash. Since many of the methods on the provider classes take additional arguments as a Hash, it's important to make sure we give good errors when they are missing.
Public Class Methods
new(errors)
click to toggle source
# File lib/spook_and_pay/providers/base.rb, line 24 def initialize(errors) @errors = errors end
Public Instance Methods
to_s()
click to toggle source
# File lib/spook_and_pay/providers/base.rb, line 28 def to_s "You have missed, or provided invalid options" end