Top Level Namespace

Defined Under Namespace

Modules: HermesAPI

Instance Method Summary collapse

Instance Method Details

#reload!Object



18
19
20
21
22
# File 'lib/dev/zeitwerk_loader.rb', line 18

def reload!
  $__hermes_api_loader__.reload
  set_config
  true
end

#set_configObject



3
4
5
6
7
8
9
10
# 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