Class: Bankjob::Scraper::ScraperRule
- Inherits:
-
Struct
- Object
- Struct
- Bankjob::Scraper::ScraperRule
- Defined in:
- lib/bankjob/scraper.rb
Overview
ScraperRule is a struct used for holding a rule body with its priority. Users can create transaction rules in their Scraper subclasses using the Scraper#ransaction_rule method.
Instance Attribute Summary collapse
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#rule_body ⇒ Object
Returns the value of attribute rule_body.
Instance Attribute Details
#priority ⇒ Object
Returns the value of attribute priority
295 296 297 |
# File 'lib/bankjob/scraper.rb', line 295 def priority @priority end |
#rule_body ⇒ Object
Returns the value of attribute rule_body
295 296 297 |
# File 'lib/bankjob/scraper.rb', line 295 def rule_body @rule_body end |