Class: AssMaintainer::InfoBase::ServerIb::InfoBaseWrapper
- Inherits:
-
Object
- Object
- AssMaintainer::InfoBase::ServerIb::InfoBaseWrapper
- Includes:
- Interfaces::InfoBaseWrapper
- Defined in:
- lib/ass_maintainer/info_base/server_ib/helpers.rb
Overview
Wrapper for manipulate with real information base deployed in 1C:Enterprise server ower the 1C Ole classes
Instance Attribute Summary collapse
-
#claster ⇒ Object
Returns the value of attribute claster.
-
#infobase ⇒ Object
Returns the value of attribute infobase.
-
#server_agent ⇒ Object
Returns the value of attribute server_agent.
Instance Method Summary collapse
-
#exists? ⇒ Boolean
True if infobase exists.
-
#initialize(infobase, server_agent, claster) ⇒ InfoBaseWrapper
constructor
private
A new instance of InfoBaseWrapper.
Methods included from Interfaces::InfoBaseWrapper
#lock, #locked?, #locked_we?, #sessions, #unlock, #unlock!
Constructor Details
#initialize(infobase, server_agent, claster) ⇒ InfoBaseWrapper
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InfoBaseWrapper.
37 38 39 40 41 |
# File 'lib/ass_maintainer/info_base/server_ib/helpers.rb', line 37 def initialize(infobase, server_agent, claster) self.infobase = infobase self.server_agent = server_agent self.claster = claster end |
Instance Attribute Details
#claster ⇒ Object
Returns the value of attribute claster.
35 36 37 |
# File 'lib/ass_maintainer/info_base/server_ib/helpers.rb', line 35 def claster @claster end |
#infobase ⇒ Object
Returns the value of attribute infobase.
35 36 37 |
# File 'lib/ass_maintainer/info_base/server_ib/helpers.rb', line 35 def infobase @infobase end |
#server_agent ⇒ Object
Returns the value of attribute server_agent.
35 36 37 |
# File 'lib/ass_maintainer/info_base/server_ib/helpers.rb', line 35 def server_agent @server_agent end |
Instance Method Details
#exists? ⇒ Boolean
True if infobase exists
44 45 46 |
# File 'lib/ass_maintainer/info_base/server_ib/helpers.rb', line 44 def exists? fail NotImplementedError end |