class RedisCounters::Dumpers::Dsl::Destination::Configuration

Public Instance Methods

condition(value) click to toggle source
# File lib/redis_counters/dumpers/dsl/destination.rb, line 29
def condition(value)
  destination.conditions << value
end
map(field, target_field) click to toggle source
# File lib/redis_counters/dumpers/dsl/destination.rb, line 25
def map(field, target_field)
  destination.fields_map.merge!(field.to_sym => target_field[:to])
end
source_condition(value) click to toggle source
# File lib/redis_counters/dumpers/dsl/destination.rb, line 33
def source_condition(value)
  destination.source_conditions << value
end