Top Level Namespace

Includes:
Java

Defined Under Namespace

Modules: BOSDK, IRB

Instance Method Summary (collapse)

Instance Method Details

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



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

- (Boolean) connected?

Returns:

  • (Boolean)


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