lib/ecoportal/api/common.v2.rb in ecoportal-api-v2-2.0.7 vs lib/ecoportal/api/common.v2.rb in ecoportal-api-v2-2.0.8

- old
+ new

@@ -1,7 +1,11 @@ module Ecoportal module API module Common + unless Ecoportal::API.const_defined?(:GEM2_VERSION) + msg = "Correct way to require this gem is `require 'ecoportal/api-v2`" + raise LoadError, msg + end end end end require 'ecoportal/api/common/concerns'