Class: QuickTravel::Search
- Inherits:
-
Object
- Object
- QuickTravel::Search
- Includes:
- InitFromHash
- Defined in:
- lib/quick_travel/search.rb
Instance Attribute Summary collapse
-
#backward_connection_date ⇒ Object
Returns the value of attribute backward_connection_date.
-
#category ⇒ Object
type of search.
-
#forward_connection_date ⇒ Object
Returns the value of attribute forward_connection_date.
-
#last_travel_date ⇒ Object
Returns the value of attribute last_travel_date.
-
#location_id ⇒ Object
Returns the value of attribute location_id.
-
#number_of_rooms ⇒ Object
required for accommodation search.
-
#product ⇒ Object
Returns the value of attribute product.
-
#property_name ⇒ Object
Returns the value of attribute property_name.
-
#property_type_id ⇒ Object
Returns the value of attribute property_type_id.
-
#route_id ⇒ Object
for getting there search.
-
#way ⇒ Object
used for one_way or two_way in “getting there search”.
Method Summary
Methods included from InitFromHash
#define_readers, #initialize, #to_hash
Instance Attribute Details
#backward_connection_date ⇒ Object
Returns the value of attribute backward_connection_date.
10 11 12 |
# File 'lib/quick_travel/search.rb', line 10 def backward_connection_date @backward_connection_date end |
#category ⇒ Object
type of search
6 7 8 |
# File 'lib/quick_travel/search.rb', line 6 def category @category end |
#forward_connection_date ⇒ Object
Returns the value of attribute forward_connection_date.
10 11 12 |
# File 'lib/quick_travel/search.rb', line 10 def forward_connection_date @forward_connection_date end |
#last_travel_date ⇒ Object
Returns the value of attribute last_travel_date.
5 6 7 |
# File 'lib/quick_travel/search.rb', line 5 def last_travel_date @last_travel_date end |
#location_id ⇒ Object
Returns the value of attribute location_id.
5 6 7 |
# File 'lib/quick_travel/search.rb', line 5 def location_id @location_id end |
#number_of_rooms ⇒ Object
required for accommodation search
9 10 11 |
# File 'lib/quick_travel/search.rb', line 9 def number_of_rooms @number_of_rooms end |
#product ⇒ Object
Returns the value of attribute product.
5 6 7 |
# File 'lib/quick_travel/search.rb', line 5 def product @product end |
#property_name ⇒ Object
Returns the value of attribute property_name.
5 6 7 |
# File 'lib/quick_travel/search.rb', line 5 def property_name @property_name end |
#property_type_id ⇒ Object
Returns the value of attribute property_type_id.
5 6 7 |
# File 'lib/quick_travel/search.rb', line 5 def property_type_id @property_type_id end |
#route_id ⇒ Object
for getting there search
8 9 10 |
# File 'lib/quick_travel/search.rb', line 8 def route_id @route_id end |
#way ⇒ Object
used for one_way or two_way in “getting there search”
7 8 9 |
# File 'lib/quick_travel/search.rb', line 7 def way @way end |