lib/simple_segment/operations/operation.rb in simple_segment-0.1.0.pre2 vs lib/simple_segment/operations/operation.rb in simple_segment-0.1.0
- old
+ new
@@ -6,14 +6,14 @@
name: 'simple_segment',
version: SimpleSegment::VERSION
}
}.freeze
- attr_reader :options, :config
+ attr_reader :options, :request
- def initialize(options = {}, config)
+ def initialize(client, options = {})
@options = options
- @config = config
+ @request = Request.new(client)
end
def call
raise 'Must be implemented in a subclass'
end