lib/eco/api/session/config.rb in eco-helpers-1.0.11 vs lib/eco/api/session/config.rb in eco-helpers-1.0.12

- old
+ new

@@ -26,10 +26,14 @@ def apis self["apis"] ||= Eco::API::Session::Config::Apis.new(config: self) end + def sftp + self["sftp"] ||= Eco::API::Session::Config::SFTP.new(config: self) + end + def logger self["logger"] ||= Eco::API::Session::Config::Logger.new(config: self) end def s3storage @@ -106,10 +110,14 @@ def active_api(name) apis.active_name = name self end + def active_enviro + apis.active_root_name + end + def api(logger = ::Logger.new(IO::NULL)) apis.api(logger) end # FILES @@ -292,9 +300,10 @@ require_relative 'config/base_config' require_relative 'config/api' require_relative 'config/apis' require_relative 'config/logger' require_relative 'config/mailer' +require_relative 'config/sftp' require_relative 'config/s3_storage' require_relative 'config/files' require_relative 'config/people' require_relative 'config/post_launch' require_relative 'config/workflow'