Sha256: f1ecd764c44edcc60f8f64565e743457b9fc612d4481e08c95d6b508b9db5399

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

module Arstotzka
  class Fetcher
    class Dummy
      def initialize(json = {})
        @json = json
      end

      private

      attr_reader :json

      def ensure_age(hash)
        hash.merge(age: 10)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arstotzka-1.6.2 spec/support/models/arstotzka/fetcher/dummy.rb
arstotzka-1.6.1 spec/support/models/arstotzka/fetcher/dummy.rb
arstotzka-1.6.0 spec/support/models/arstotzka/fetcher/dummy.rb