Top Level Namespace
Defined Under Namespace
Modules: InPostUKAPI
Instance Method Summary collapse
Instance Method Details
#reload! ⇒ Object
17 18 19 20 21 |
# File 'lib/dev/zeitwerk_loader.rb', line 17 def reload! $__inpost_uk_api_loader__.reload set_config true end |
#set_config ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/dev/config.rb', line 3 def set_config InPostUKAPI.configure do |config| config.site = ENV['SITE'] config.retailer = ENV['RETAILER'] config.api_token = ENV['API_TOKEN'] end end |