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
13 14 15 |
# File 'lib/html2rss/page_recon.rb', line 13 def admission_drops @admission_drops end |
#articles_count ⇒ Object (readonly)
Returns the value of attribute articles_count
13 14 15 |
# File 'lib/html2rss/page_recon.rb', line 13 def articles_count @articles_count end |
#html_response ⇒ Object (readonly)
Returns the value of attribute html_response
13 14 15 |
# File 'lib/html2rss/page_recon.rb', line 13 def html_response @html_response end |
#surface_category ⇒ Object (readonly)
Returns the value of attribute surface_category
13 14 15 |
# File 'lib/html2rss/page_recon.rb', line 13 def surface_category @surface_category end |
Instance Method Details
#blocked? ⇒ Boolean
24 |
# File 'lib/html2rss/page_recon.rb', line 24 def blocked? = category.blocked? |
#category ⇒ Html2rss::SurfaceCategory
16 |
# File 'lib/html2rss/page_recon.rb', line 16 def category = SurfaceCategory.coerce(surface_category) |
#listing_bonus? ⇒ Boolean
28 |
# File 'lib/html2rss/page_recon.rb', line 28 def listing_bonus? = category.listing_bonus? |
#weak? ⇒ Boolean
20 |
# File 'lib/html2rss/page_recon.rb', line 20 def weak? = category.weak? |