Top Level Namespace

Includes:
Java

Defined Under Namespace

Modules: BOSDK, IRB

Instance Method Summary collapse

Instance Method Details

#connect(cms, username, password, options = Hash.new) ⇒ Object



32
33
34
# File 'bin/boirb', line 32

def connect(cms, username, password, options = Hash.new)
  @boe = BOSDK::EnterpriseSession.new(cms, username, password, options)
end

#connected?Boolean



36
37
38
# File 'bin/boirb', line 36

def connected?
  @boe and @boe.connected?
end

#disconnectObject



40
41
42
# File 'bin/boirb', line 40

def disconnect
  @boe.disconnect if connected?
end

#objectsObject



55
56
57
# File 'bin/boirb', line 55

def objects
  @objs
end

#open_webi(docid) ⇒ Object



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

#query(stmt) ⇒ Object



44
45
46
# File 'bin/boirb', line 44

def query(stmt)
  @boe.query(stmt) if connected?
end

#variablesObject



59
60
61
# File 'bin/boirb', line 59

def variables
  @vars
end