Class: CitationListObject
- Inherits:
-
Object
- Object
- CitationListObject
- Includes:
- DataFactory, Foundry, Workflows
- Defined in:
- lib/sambal-cle/data_objects/resource.rb
Instance Attribute Summary collapse
-
#site ⇒ Object
Returns the value of attribute site.
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(browser, opts = {}) ⇒ CitationListObject
constructor
A new instance of CitationListObject.
Methods included from Workflows
menu_link, #open_my_site_by_name, #reset
Constructor Details
#initialize(browser, opts = {}) ⇒ CitationListObject
Returns a new instance of CitationListObject.
188 189 190 191 192 193 194 195 |
# File 'lib/sambal-cle/data_objects/resource.rb', line 188 def initialize(browser, opts={}) @browser = browser defaults = {} = defaults.merge(opts) () requires @site end |
Instance Attribute Details
#site ⇒ Object
Returns the value of attribute site.
186 187 188 |
# File 'lib/sambal-cle/data_objects/resource.rb', line 186 def site @site end |
Instance Method Details
#create ⇒ Object
197 198 199 200 |
# File 'lib/sambal-cle/data_objects/resource.rb', line 197 def create open_my_site_by_name @site resources end |