Top Level Namespace
- Includes:
- Java
Defined Under Namespace
Instance Method Summary (collapse)
- - (Object) connect(cms, username, password, options = Hash.new)
- - (Boolean) connected?
- - (Object) disconnect
- - (Object) objects
- - (Object) open_webi(docid)
- - (Object) query(stmt)
- - (Object) variables
Instance Method Details
- (Object) connect(cms, username, password, options = Hash.new)
32 33 34 |
# File 'bin/boirb', line 32 def connect(cms, username, password, = Hash.new) @boe = BOSDK::EnterpriseSession.new(cms, username, password, ) end |
- (Boolean) connected?
36 37 38 |
# File 'bin/boirb', line 36 def connected? @boe and @boe.connected? end |
- (Object) disconnect
40 41 42 |
# File 'bin/boirb', line 40 def disconnect @boe.disconnect if connected? end |
- (Object) objects
55 56 57 |
# File 'bin/boirb', line 55 def objects @objs end |
- (Object) open_webi(docid)
48 49 50 51 52 53 |
# File 'bin/boirb', line 48 def open_webi(docid) @doc = @boe.open_webi(docid) if connected? @objs = @doc.objects @vars = @doc.variables @doc end |
- (Object) query(stmt)
44 45 46 |
# File 'bin/boirb', line 44 def query(stmt) @boe.query(stmt) if connected? end |
- (Object) variables
59 60 61 |
# File 'bin/boirb', line 59 def variables @vars end |