Class: Fias::Query::Estimate
- Inherits:
-
Object
- Object
- Fias::Query::Estimate
- Defined in:
- lib/fias/query/estimate.rb
Instance Method Summary collapse
- #estimate ⇒ Object
-
#initialize(params, chain) ⇒ Estimate
constructor
A new instance of Estimate.
Constructor Details
#initialize(params, chain) ⇒ Estimate
Returns a new instance of Estimate.
4 5 6 7 |
# File 'lib/fias/query/estimate.rb', line 4 def initialize(params, chain) @params = params @chain = chain end |
Instance Method Details
#estimate ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/fias/query/estimate.rb', line 9 def estimate for_subject + for_found_parts + for_type + for_deepness + for_name_proximity end |