lib/eco/api/session.rb in eco-helpers-2.0.45 vs lib/eco/api/session.rb in eco-helpers-2.0.46
- old
+ new
@@ -15,9 +15,14 @@
@person_factories = {}
logger.debug("LINE COMMAND: #{$0} #{ARGV.join(" ")}")
end
+ # @retrun [String] the name of the current environment
+ def enviro_name
+ config.active_enviro
+ end
+
# @return [Eco::API::Session::Batch] provides helper to launch batch operations.
def batch
@batch ||= Batch.new(enviro)
end