Class: Firefly

Inherits:
Flight show all
Includes:
PageRequester, Selectors::Firefly
Defined in:
lib/teecket/firefly.rb

Instance Attribute Summary collapse

Attributes inherited from Flight

#date, #fares, #from, #to

Instance Method Summary collapse

Methods included from Selectors::Firefly

#arrive_at_selector, #depart_at_selector, #fare_selector, #flight_number_selector, #origin_destination_selector, #time_formatter

Methods included from PageRequester

#request

Methods inherited from Flight

#initialize

Constructor Details

This class inherits a constructor from Flight

Instance Attribute Details

Returns the value of attribute cookie.



7
8
9
# File 'lib/teecket/firefly.rb', line 7

def cookie
  @cookie
end

#resObject

Returns the value of attribute res.



7
8
9
# File 'lib/teecket/firefly.rb', line 7

def res
  @res
end

Instance Method Details

#searchObject



9
10
11
12
13
# File 'lib/teecket/firefly.rb', line 9

def search
  get
  process
rescue StandardError
end