Sha256: 4c8bb17180fd37f9c8bdecb03d13de8680cc7e77717d6f6a67f120bc5911b7ef

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

module ServiceDowntimeSimulator
  module Modes
    class SuccessfulButGibberish < Base
      private

      def status
        200
      end

      def body
        cheeseboard.shuffle.join(' ')
      end

      def cheeseboard
        %w[stilton caerphilly cheddar gloucester wensleydale brie] * 10
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
service_downtime_simulator-0.1.0 lib/service_downtime_simulator/modes/successful_but_gibberish.rb