Sha256: f208df2454e3f0ec14e86d3962e2a3c9ec448aae58a0e0a6bfbb498e2e4780ac

Contents?: true

Size: 203 Bytes

Versions: 6

Compression:

Stored size: 203 Bytes

Contents

module Sappy
  module Responses
    class Monitors < Response
      attr_reader :monitors

      def success(hash)
        @monitors = hash["monitors"].first["monitor"] || []
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
abcde-sappy-0.1.0 lib/sappy/responses/monitors.rb
abcde-sappy-0.1.1 lib/sappy/responses/monitors.rb
sappy-0.1.4 lib/sappy/responses/monitors.rb
sappy-0.1.3 lib/sappy/responses/monitors.rb
sappy-0.1.2 lib/sappy/responses/monitors.rb
sappy-0.1.1 lib/sappy/responses/monitors.rb