Sha256: 57fcef3428afb1eb2e396ebf7befc4f874134712a58f857a082a2f9724d21788

Contents?: true

Size: 624 Bytes

Versions: 2

Compression:

Stored size: 624 Bytes

Contents

module PowerSchool
    class Students 

        def self.find( full_name )
            PowerSchool::Connection.go_home
            PowerSchool.browser.text_field(:id => "ss").set full_name
            PowerSchool.browser.button(:id => "btnSearch").click
            if PowerSchool.browser.frame(:id => "frameContent").exists?
                PowerSchool.browser.frame(:id => "frameContent").div(:id => "content-main").p.text
            else
                false
            end
        end

        def self.import(file_path)
            PowerSchool::Connection.quick_import('Students', file_path)
        end
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
power_school-0.0.2 lib/power_school/students.rb
power_school-0.0.1 lib/power_school/students.rb