Sha256: b76dd16e499429e9a29cf1fd93adcb3b363605f5a2301b7c5e5a3006077fa9bc
Contents?: true
Size: 999 Bytes
Versions: 13
Compression:
Stored size: 999 Bytes
Contents
module Eco module API module Common module Session class BaseSession include Common::People attr_accessor :environment, :config alias_method :enviro, :environment alias_method :enviro=, :environment= attr_reader :api, :file_manager, :logger alias_method :fm, :file_manager def initialize(e) e = Environment.new(e) if !e.is_a?(Environment) self.environment = e if e.is_a?(Environment) end def environment=(value) @environment = nil @environment = value if value.is_a?(Environment) end def config enviro.config end def api enviro.api end def file_manager enviro.file_manager end def logger enviro.logger end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems