class Object

Public Instance Methods

reload!() click to toggle source
# File lib/dev/zeitwerk_loader.rb, line 18
def reload!
  $__hermes_api_loader__.reload
  set_config
  true
end
set_config() click to toggle source
# File lib/dev/config.rb, line 3
def set_config
  HermesAPI.configure do |config|
    config.env = :test
    # Set to production when testing HermesAPI::TrackingEvent resource
    # config.env = :production
    config.proxy = ENV["HERMES_API_PROXY"]
  end
end