Class: PoolObject
- Inherits:
-
Object
- Object
- PoolObject
- Includes:
- DataFactory, Foundry, StringFactory, Workflows
- Defined in:
- lib/sambal-cle/data_objects/questions.rb
Overview
TODO: Finish defining this class
Instance Attribute Summary collapse
-
#creator ⇒ Object
Returns the value of attribute creator.
-
#department ⇒ Object
(also: #group)
Returns the value of attribute department.
-
#description ⇒ Object
Returns the value of attribute description.
-
#keywords ⇒ Object
Returns the value of attribute keywords.
-
#name ⇒ Object
Returns the value of attribute name.
-
#objectives ⇒ Object
Returns the value of attribute objectives.
-
#questions ⇒ Object
Returns the value of attribute questions.
-
#site ⇒ Object
Returns the value of attribute site.
Instance Method Summary collapse
- #create ⇒ Object
- #delete ⇒ Object
- #edit(opts = {}) ⇒ Object
-
#initialize(browser, opts = {}) ⇒ PoolObject
constructor
A new instance of PoolObject.
- #view ⇒ Object
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 } = defaults.merge(opts) () requires @site end |
Instance Attribute Details
#creator ⇒ Object
Returns the value of attribute creator.
663 664 665 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 663 def creator @creator end |
#department ⇒ Object 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 |
#description ⇒ Object
Returns the value of attribute description.
663 664 665 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 663 def description @description end |
#keywords ⇒ Object
Returns the value of attribute keywords.
663 664 665 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 663 def keywords @keywords end |
#name ⇒ Object
Returns the value of attribute name.
663 664 665 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 663 def name @name end |
#objectives ⇒ Object
Returns the value of attribute objectives.
663 664 665 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 663 def objectives @objectives end |
#questions ⇒ Object
Returns the value of attribute questions.
663 664 665 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 663 def questions @questions end |
#site ⇒ Object
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
#create ⇒ Object
680 681 682 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 680 def create end |
#delete ⇒ Object
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={} (opts) end |
#view ⇒ Object
689 690 691 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 689 def view end |