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.
659 660 661 662 663 664 665 666 667 668 669 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 659 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.
656 657 658 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 656 def creator @creator end |
#department ⇒ Object Also known as: group
Returns the value of attribute department.
656 657 658 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 656 def department @department end |
#description ⇒ Object
Returns the value of attribute description.
656 657 658 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 656 def description @description end |
#keywords ⇒ Object
Returns the value of attribute keywords.
656 657 658 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 656 def keywords @keywords end |
#name ⇒ Object
Returns the value of attribute name.
656 657 658 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 656 def name @name end |
#objectives ⇒ Object
Returns the value of attribute objectives.
656 657 658 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 656 def objectives @objectives end |
#questions ⇒ Object
Returns the value of attribute questions.
656 657 658 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 656 def questions @questions end |
#site ⇒ Object
Returns the value of attribute site.
656 657 658 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 656 def site @site end |
Instance Method Details
#create ⇒ Object
673 674 675 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 673 def create end |
#delete ⇒ Object
686 687 688 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 686 def delete end |
#edit(opts = {}) ⇒ Object
677 678 679 680 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 677 def edit opts={} (opts) end |
#view ⇒ Object
682 683 684 |
# File 'lib/sambal-cle/data_objects/questions.rb', line 682 def view end |