Class: Html2rss::FeedPipeline::RuntimePolicy::Resources

Inherits:
Data
  • Object
show all
Defined in:
lib/html2rss/feed_pipeline/runtime_policy.rb

Overview

Policy plus Budget from one config expansion (shared meters for a feed run).

Instance Attribute Summary collapse

Instance Attribute Details

#budgetObject (readonly)

Returns the value of attribute budget

Returns:

  • (Object)

    the current value of budget



13
14
15
# File 'lib/html2rss/feed_pipeline/runtime_policy.rb', line 13

def budget
  @budget
end

#policyObject (readonly)

Returns the value of attribute policy

Returns:

  • (Object)

    the current value of policy



13
14
15
# File 'lib/html2rss/feed_pipeline/runtime_policy.rb', line 13

def policy
  @policy
end