Sha256: 7b584e3f6526d37a7132441ebf19ab16737e8700a11807c1eb1c05ed4e23315c

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

class KJess::Request
  # This is not yet in a released version of Kestrel
  class Status < KJess::Request
    keyword 'STATUS'
    arity   1
    valid_responses [ KJess::Response::Status::Up, KJess::Response::Status::Down,
                      KJess::Response::Status::ReadOnly, KJess::Response::Status::Quiescent,
                      KJess::Response::End ]

    def parse_options_to_args( opts )
      [ opts[:update_to] ]
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kjess-1.2.0 lib/kjess/request/status.rb
kjess-1.1.0 lib/kjess/request/status.rb