Module: BOSDK

Defined in:
lib/bosdk.rb,
lib/bosdk/info_object.rb,
lib/bosdk/webi_instance.rb,
lib/bosdk/webi_report_engine.rb,
lib/bosdk/enterprise_session.rb

Defined Under Namespace

Classes: EnterpriseSession, InfoObject, WebiInstance, WebiReportEngine

Class Method Summary collapse

Class Method Details

.connect(cms, username, password, options = Hash.new) {|session| ... } ⇒ Object

A closure over EnterpriseSession

Yields:

  • (session)


34
35
36
37
38
# File 'lib/bosdk.rb', line 34

def BOSDK.connect(cms, username, password, options = Hash.new, &block)
  session = EnterpriseSession.new(cms, username, password, options)
  yield session
  session.disconnect
end