spec/support/models/arstotzka/fetcher/dummy.rb in arstotzka-1.1.0 vs spec/support/models/arstotzka/fetcher/dummy.rb in arstotzka-1.2.0
- old
+ new
@@ -1,8 +1,15 @@
# frozen_string_literal: true
module Arstotzka
class Fetcher
class Dummy
+ def initialize(json = {})
+ @json = json
+ end
+
+ private
+
+ attr_reader :json
end
end
end