lib/promisepay/configurable.rb
# Reset configuration options to default values.
Reset configuration options to default values.
Reset configuration options to default values .
def reset!
      Promisepay::Configurable.keys.each do |key|
        instance_variable_set(:"@#{key}", Promisepay::Default.options[key])
      end
      self
    end
def reset! Promisepay :: Configurable . keys . each do | key | instance_variable_set ( :" @ #{ key } " , Promisepay :: Default . options [ key ] ) end self end
Reset configuration options to default values.
Reset configuration options to default values .