Class: Geonames::SearchCriteria
- Inherits:
-
Object
- Object
- Geonames::SearchCriteria
- Defined in:
- lib/search_criteria.rb
Instance Attribute Summary collapse
-
#admin_code_1 ⇒ Object
Returns the value of attribute admin_code_1.
-
#admin_code_2 ⇒ Object
Returns the value of attribute admin_code_2.
-
#admin_code_3 ⇒ Object
Returns the value of attribute admin_code_3.
-
#charset ⇒ Object
Returns the value of attribute charset.
-
#continent_code ⇒ Object
writeonly
Sets the attribute continent_code.
-
#continent_codes ⇒ Object
readonly
Returns the value of attribute continent_codes.
-
#country ⇒ Object
Returns the value of attribute country.
-
#country_bias ⇒ Object
Returns the value of attribute country_bias.
-
#feature_class ⇒ Object
Returns the value of attribute feature_class.
-
#feature_codes ⇒ Object
Returns the value of attribute feature_codes.
-
#is_name_required ⇒ Object
Returns the value of attribute is_name_required.
-
#language ⇒ Object
Returns the value of attribute language.
-
#max_rows ⇒ Object
Returns the value of attribute max_rows.
-
#name ⇒ Object
Returns the value of attribute name.
-
#name_equals ⇒ Object
Returns the value of attribute name_equals.
-
#name_starts_with ⇒ Object
Returns the value of attribute name_starts_with.
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#q ⇒ Object
Returns the value of attribute q.
-
#start_row ⇒ Object
Returns the value of attribute start_row.
-
#style ⇒ Object
Returns the value of attribute style.
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#admin_code_1 ⇒ Object
Returns the value of attribute admin_code_1.
13 14 15 |
# File 'lib/search_criteria.rb', line 13 def admin_code_1 @admin_code_1 end |
#admin_code_2 ⇒ Object
Returns the value of attribute admin_code_2.
14 15 16 |
# File 'lib/search_criteria.rb', line 14 def admin_code_2 @admin_code_2 end |
#admin_code_3 ⇒ Object
Returns the value of attribute admin_code_3.
15 16 17 |
# File 'lib/search_criteria.rb', line 15 def admin_code_3 @admin_code_3 end |
#charset ⇒ Object
Returns the value of attribute charset.
24 25 26 |
# File 'lib/search_criteria.rb', line 24 def charset @charset end |
#continent_code=(value) ⇒ Object (writeonly)
Sets the attribute continent_code
29 30 31 |
# File 'lib/search_criteria.rb', line 29 def continent_code=(value) @continent_code = value end |
#continent_codes ⇒ Object (readonly)
Returns the value of attribute continent_codes.
12 13 14 |
# File 'lib/search_criteria.rb', line 12 def continent_codes @continent_codes end |
#country ⇒ Object
Returns the value of attribute country.
10 11 12 |
# File 'lib/search_criteria.rb', line 10 def country @country end |
#country_bias ⇒ Object
Returns the value of attribute country_bias.
11 12 13 |
# File 'lib/search_criteria.rb', line 11 def country_bias @country_bias end |
#feature_class ⇒ Object
Returns the value of attribute feature_class.
16 17 18 |
# File 'lib/search_criteria.rb', line 16 def feature_class @feature_class end |
#feature_codes ⇒ Object
Returns the value of attribute feature_codes.
17 18 19 |
# File 'lib/search_criteria.rb', line 17 def feature_codes @feature_codes end |
#is_name_required ⇒ Object
Returns the value of attribute is_name_required.
21 22 23 |
# File 'lib/search_criteria.rb', line 21 def is_name_required @is_name_required end |
#language ⇒ Object
Returns the value of attribute language.
18 19 20 |
# File 'lib/search_criteria.rb', line 18 def language @language end |
#max_rows ⇒ Object
Returns the value of attribute max_rows.
8 9 10 |
# File 'lib/search_criteria.rb', line 8 def max_rows @max_rows end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/search_criteria.rb', line 5 def name @name end |
#name_equals ⇒ Object
Returns the value of attribute name_equals.
6 7 8 |
# File 'lib/search_criteria.rb', line 6 def name_equals @name_equals end |
#name_starts_with ⇒ Object
Returns the value of attribute name_starts_with.
7 8 9 |
# File 'lib/search_criteria.rb', line 7 def name_starts_with @name_starts_with end |
#operator ⇒ Object
Returns the value of attribute operator.
23 24 25 |
# File 'lib/search_criteria.rb', line 23 def operator @operator end |
#q ⇒ Object
Returns the value of attribute q.
4 5 6 |
# File 'lib/search_criteria.rb', line 4 def q @q end |
#start_row ⇒ Object
Returns the value of attribute start_row.
9 10 11 |
# File 'lib/search_criteria.rb', line 9 def start_row @start_row end |
#style ⇒ Object
Returns the value of attribute style.
20 21 22 |
# File 'lib/search_criteria.rb', line 20 def style @style end |
#tag ⇒ Object
Returns the value of attribute tag.
22 23 24 |
# File 'lib/search_criteria.rb', line 22 def tag @tag end |
#type ⇒ Object
Returns the value of attribute type.
19 20 21 |
# File 'lib/search_criteria.rb', line 19 def type @type end |