Class: Ym4r::YahooMaps::BuildingBlock::LocalSearch::Rating
- Inherits:
-
Struct
- Object
- Struct
- Ym4r::YahooMaps::BuildingBlock::LocalSearch::Rating
- Defined in:
- lib/ym4r/yahoo_maps/building_block/local_search.rb
Instance Attribute Summary collapse
-
#average_rating ⇒ Object
Returns the value of attribute average_rating.
-
#last_review_date ⇒ Object
Returns the value of attribute last_review_date.
-
#last_review_intro ⇒ Object
Returns the value of attribute last_review_intro.
-
#total_ratings ⇒ Object
Returns the value of attribute total_ratings.
-
#total_reviews ⇒ Object
Returns the value of attribute total_reviews.
Instance Method Summary collapse
Instance Attribute Details
#average_rating ⇒ Object
Returns the value of attribute average_rating
140 141 142 |
# File 'lib/ym4r/yahoo_maps/building_block/local_search.rb', line 140 def @average_rating end |
#last_review_date ⇒ Object
Returns the value of attribute last_review_date
140 141 142 |
# File 'lib/ym4r/yahoo_maps/building_block/local_search.rb', line 140 def last_review_date @last_review_date end |
#last_review_intro ⇒ Object
Returns the value of attribute last_review_intro
140 141 142 |
# File 'lib/ym4r/yahoo_maps/building_block/local_search.rb', line 140 def last_review_intro @last_review_intro end |
#total_ratings ⇒ Object
Returns the value of attribute total_ratings
140 141 142 |
# File 'lib/ym4r/yahoo_maps/building_block/local_search.rb', line 140 def @total_ratings end |
#total_reviews ⇒ Object
Returns the value of attribute total_reviews
140 141 142 |
# File 'lib/ym4r/yahoo_maps/building_block/local_search.rb', line 140 def total_reviews @total_reviews end |
Instance Method Details
#is_rated? ⇒ Boolean
141 142 143 |
# File 'lib/ym4r/yahoo_maps/building_block/local_search.rb', line 141 def is_rated? != 0 end |