Class: CourseOffering
- Inherits:
-
Object
- Object
- CourseOffering
- Includes:
- DataFactory, DateFactory, Foundry, StringFactory, Workflows
- Defined in:
- lib/sambal-kuali/data_objects/course_offering.rb
Instance Attribute Summary collapse
-
#activity_offering_cluster_list ⇒ Object
Returns the value of attribute activity_offering_cluster_list.
-
#course ⇒ Object
Returns the value of attribute course.
-
#suffix ⇒ Object
Returns the value of attribute suffix.
-
#term ⇒ Object
Returns the value of attribute term.
Instance Method Summary collapse
-
#initialize(browser, opts = {}) ⇒ CourseOffering
constructor
A new instance of CourseOffering.
- #manage ⇒ Object
- #manage_registration_groups ⇒ Object
Methods included from Workflows
#go_to_academic_calendar, #go_to_calendar_search, #go_to_create_course_offerings, #go_to_create_population, #go_to_display_schedule_of_classes, #go_to_holiday_calendar, #go_to_manage_course_offerings, #go_to_manage_population, #go_to_perform_rollover, #go_to_rollover_details, #log_in, #logged_in_user
Constructor Details
#initialize(browser, opts = {}) ⇒ CourseOffering
Returns a new instance of CourseOffering.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/sambal-kuali/data_objects/course_offering.rb', line 14 def initialize(browser, opts={}) @browser = browser defaults = { :term=>"20122", :course=>"ENGL103", :suffix=>"", :activity_offering_cluster_list=>[] } = defaults.merge(opts) () end |
Instance Attribute Details
#activity_offering_cluster_list ⇒ Object
Returns the value of attribute activity_offering_cluster_list.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/course_offering.rb', line 9 def activity_offering_cluster_list @activity_offering_cluster_list end |
#course ⇒ Object
Returns the value of attribute course.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/course_offering.rb', line 9 def course @course end |
#suffix ⇒ Object
Returns the value of attribute suffix.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/course_offering.rb', line 9 def suffix @suffix end |
#term ⇒ Object
Returns the value of attribute term.
9 10 11 |
# File 'lib/sambal-kuali/data_objects/course_offering.rb', line 9 def term @term end |
Instance Method Details
#manage ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/sambal-kuali/data_objects/course_offering.rb', line 27 def manage go_to_manage_course_offerings on ManageCourseOfferings do |page| page.term.set @term page.input_code.set @course page.show end end |
#manage_registration_groups ⇒ Object
36 37 38 39 40 |
# File 'lib/sambal-kuali/data_objects/course_offering.rb', line 36 def manage_registration_groups on ManageCourseOfferings do |page| page.manage_registration_groups end end |