Class: AcknowledgementOfApplication

Inherits:
Object
  • Object
show all
Defined in:
lib/acknowledgement_of_application.rb

Instance Method Summary collapse

Constructor Details

#initialize(table_row) ⇒ AcknowledgementOfApplication

Returns a new instance of AcknowledgementOfApplication.



4
5
6
# File 'lib/acknowledgement_of_application.rb', line 4

def initialize(table_row)
  @table_row = table_row
end

Instance Method Details

#check_on_holidaysObject



8
9
10
# File 'lib/acknowledgement_of_application.rb', line 8

def check_on_holidays
  @table_row.find_element(:class, 'monthly-checkbox').click if past_day? && unapplied?
end