lib/job.rb in trafficbroker-mandy-0.1.0 vs lib/job.rb in trafficbroker-mandy-0.1.1
- old
+ new
@@ -2,11 +2,14 @@
class Job
class << self
attr_accessor :default
end
+ attr_reader :settings
+
def initialize(name, &blk)
@name = name
+ @settings = {}
instance_eval(&blk) if blk
end
def map(&blk)
@mapper_class = Mandy::Mapper.compile(&blk)
\ No newline at end of file