Sha256: 779cc8555075eea3b62bd6750f7b3a625108b3405aaa253f7663bb11fc24f3a3

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 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.1 lib/service_downtime_simulator/modes/successful_but_gibberish.rb