Closed axelson closed 7 years ago
This fixes the tests in my project. But honestly I'm having trouble following the code. Specifically:
base.send(:include, Airborne.configuration.requester_module)
It appears to be the only use of requester_module
but it seems almost self-referential since it just refers to what I believe is the empty configuration added in lib/airborne.rb
.
Thanks
Previously Airborne.base was loaded before the configuration was added. This caused an error:
Waiting to load Airborne.base until the configuration has been added (
config.add_setting :requester_module
) fixes the issue.Fixes #121