Class: Html2rss::PageRecon::Assessment
- Inherits:
-
Data
- Object
- Data
- Html2rss::PageRecon::Assessment
- Defined in:
- lib/html2rss/page_recon.rb
Overview
Cheap surface + admission facts shared by AutoFallback gates and FeedResolution probes.
Instance Attribute Summary collapse
-
#admission_drops ⇒ Object
readonly
Returns the value of attribute admission_drops.
-
#articles_count ⇒ Object
readonly
Returns the value of attribute articles_count.
-
#html_response ⇒ Object
readonly
Returns the value of attribute html_response.
-
#surface_category ⇒ Object
readonly
Returns the value of attribute surface_category.
Instance Method Summary collapse
- #blocked? ⇒ Boolean
- #category ⇒ Html2rss::SurfaceCategory
- #listing_bonus? ⇒ Boolean
- #weak? ⇒ Boolean
Instance Attribute Details
#admission_drops ⇒ Object (readonly)
Returns the value of attribute admission_drops
12 13 14 |
# File 'lib/html2rss/page_recon.rb', line 12 def admission_drops @admission_drops end |
#articles_count ⇒ Object (readonly)
Returns the value of attribute articles_count
12 13 14 |
# File 'lib/html2rss/page_recon.rb', line 12 def articles_count @articles_count end |
#html_response ⇒ Object (readonly)
Returns the value of attribute html_response
12 13 14 |
# File 'lib/html2rss/page_recon.rb', line 12 def html_response @html_response end |
#surface_category ⇒ Object (readonly)
Returns the value of attribute surface_category
12 13 14 |
# File 'lib/html2rss/page_recon.rb', line 12 def surface_category @surface_category end |
Instance Method Details
#blocked? ⇒ Boolean
23 |
# File 'lib/html2rss/page_recon.rb', line 23 def blocked? = category.blocked? |
#category ⇒ Html2rss::SurfaceCategory
15 |
# File 'lib/html2rss/page_recon.rb', line 15 def category = SurfaceCategory.coerce(surface_category) |
#listing_bonus? ⇒ Boolean
27 |
# File 'lib/html2rss/page_recon.rb', line 27 def listing_bonus? = category.listing_bonus? |
#weak? ⇒ Boolean
19 |
# File 'lib/html2rss/page_recon.rb', line 19 def weak? = category.weak? |