lib/legion/extensions/http.rb in lex-http-0.1.1 vs lib/legion/extensions/http.rb in lex-http-0.1.2
- old
+ new
@@ -1,11 +1,10 @@
require 'legion/extensions/http/version'
-require 'legion/extensions'
module Legion
module Extensions
module Http
- extend Legion::Extensions::Core
+ extend Legion::Extensions::Core if Legion::Extensions.const_defined? :Core
def self.default_settings
{
options: {
open_timeout: 5,