Class: WebLinkObject
- Inherits:
-
Object
- Object
- WebLinkObject
- Includes:
- PageHelper, Utilities, Workflows
- Defined in:
- lib/sakai-cle-test-api/data_objects/resource.rb
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(browser, opts = {}) ⇒ WebLinkObject
constructor
A new instance of WebLinkObject.
Methods included from Workflows
menu_link, #open_my_site_by_name
Methods included from Utilities
#current_hour, #current_month, #current_year, #get_filename, #in_15_minutes, #last_hour, #last_month, #last_year, #make, #make_date, #next_hour, #next_month, #next_year, #on_page, #random_alphanums, #random_alphanums_plus, #random_email, #random_high_ascii, #random_letters, #random_multiline, #random_nicelink, #random_string, #random_xss_string, #tomorrow, #yesterday
Methods included from PageHelper
#make, #on, #visit, #wait_until
Constructor Details
#initialize(browser, opts = {}) ⇒ WebLinkObject
Returns a new instance of WebLinkObject.
82 83 84 85 86 87 88 89 |
# File 'lib/sakai-cle-test-api/data_objects/resource.rb', line 82 def initialize(browser, opts={}) @browser = browser defaults = {} = defaults.merge(opts) @site = [:site] raise "You must specify a Site for your Web Link" if @site==nil end |
Instance Method Details
#create ⇒ Object
91 92 93 |
# File 'lib/sakai-cle-test-api/data_objects/resource.rb', line 91 def create end |