Class: WebLinkObject

Inherits:
Object
  • Object
show all
Includes:
PageHelper, Utilities, Workflows
Defined in:
lib/sakai-cle-test-api/data_objects/resource.rb

Instance Method Summary collapse

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 = {}
  options = defaults.merge(opts)
  @site = options[:site]
  raise "You must specify a Site for your Web Link" if @site==nil
end

Instance Method Details

#createObject



91
92
93
# File 'lib/sakai-cle-test-api/data_objects/resource.rb', line 91

def create

end