class Muck::ConfigDSL::RetentionDSL
Public Class Methods
new(hash)
click to toggle source
# File lib/muck/config_dsl/retention_dsl.rb, line 5 def initialize(hash) @hash = hash end
Public Instance Methods
daily(daily)
click to toggle source
# File lib/muck/config_dsl/retention_dsl.rb, line 13 def daily(daily) @hash[:daily] = daily end
hourly(hourly)
click to toggle source
# File lib/muck/config_dsl/retention_dsl.rb, line 9 def hourly(hourly) @hash[:hourly] = hourly end
monthly(monthly)
click to toggle source
# File lib/muck/config_dsl/retention_dsl.rb, line 17 def monthly(monthly) @hash[:monthly] = monthly end
yearly(yearly)
click to toggle source
# File lib/muck/config_dsl/retention_dsl.rb, line 21 def yearly(yearly) @hash[:yearly] = yearly end