Class: PoolObject

Inherits:
Object
  • Object
show all
Includes:
DataFactory, Foundry, StringFactory, Workflows
Defined in:
lib/sambal-cle/data_objects/questions.rb

Overview

TODO: Finish defining this class

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Workflows

menu_link, #open_my_site_by_name, #reset

Constructor Details

#initialize(browser, opts = {}) ⇒ PoolObject

Returns a new instance of PoolObject.



666
667
668
669
670
671
672
673
674
675
676
# File 'lib/sambal-cle/data_objects/questions.rb', line 666

def initialize(browser, opts={})
  @browser = browser

  defaults = {
      :name=>random_alphanums
  }
  options = defaults.merge(opts)

  set_options(options)
  requires @site
end

Instance Attribute Details

#creatorObject

Returns the value of attribute creator.



663
664
665
# File 'lib/sambal-cle/data_objects/questions.rb', line 663

def creator
  @creator
end

#departmentObject Also known as: group

Returns the value of attribute department.



663
664
665
# File 'lib/sambal-cle/data_objects/questions.rb', line 663

def department
  @department
end

#descriptionObject

Returns the value of attribute description.



663
664
665
# File 'lib/sambal-cle/data_objects/questions.rb', line 663

def description
  @description
end

#keywordsObject

Returns the value of attribute keywords.



663
664
665
# File 'lib/sambal-cle/data_objects/questions.rb', line 663

def keywords
  @keywords
end

#nameObject

Returns the value of attribute name.



663
664
665
# File 'lib/sambal-cle/data_objects/questions.rb', line 663

def name
  @name
end

#objectivesObject

Returns the value of attribute objectives.



663
664
665
# File 'lib/sambal-cle/data_objects/questions.rb', line 663

def objectives
  @objectives
end

#questionsObject

Returns the value of attribute questions.



663
664
665
# File 'lib/sambal-cle/data_objects/questions.rb', line 663

def questions
  @questions
end

#siteObject

Returns the value of attribute site.



663
664
665
# File 'lib/sambal-cle/data_objects/questions.rb', line 663

def site
  @site
end

Instance Method Details

#createObject



680
681
682
# File 'lib/sambal-cle/data_objects/questions.rb', line 680

def create

end

#deleteObject



693
694
695
# File 'lib/sambal-cle/data_objects/questions.rb', line 693

def delete

end

#edit(opts = {}) ⇒ Object



684
685
686
687
# File 'lib/sambal-cle/data_objects/questions.rb', line 684

def edit opts={}

  set_options(opts)
end

#viewObject



689
690
691
# File 'lib/sambal-cle/data_objects/questions.rb', line 689

def view

end