Sha256: 9fd149ad7e3f2dc51914cc7a5b118b8405654372f268a008e6dbee21a4453b33

Contents?: true

Size: 511 Bytes

Versions: 3

Compression:

Stored size: 511 Bytes

Contents

require_relative "../request"

module Freno
  class Client
    module Requests
      class Check < Request

        def initialize(**kwargs)
          super

          app        = kwargs.fetch(:app)
          store_type = kwargs.fetch(:store_type)
          store_name = kwargs.fetch(:store_name)

          check do
            present app: app, store_type: store_type, store_name: store_name
          end

          @path = "check/#{app}/#{store_type}/#{store_name}"
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
freno-client-0.7.0 lib/freno/client/requests/check.rb
freno-client-0.6.0 lib/freno/client/requests/check.rb
freno-client-0.4.0 lib/freno/client/requests/check.rb