Class: MockServer::Model::HTTPMethod

Inherits:
SymbolizedEnum show all
Defined in:
lib/mockserver/model/request.rb

Overview

Enum for HTTP methods

Instance Method Summary collapse

Methods inherited from SymbolizedEnum

#pre_process_value

Methods inherited from Enum

#initialize, #pre_process_value, #to_s

Constructor Details

This class inherits a constructor from MockServer::Model::Enum

Instance Method Details

#allowed_valuesObject



16
17
18
# File 'lib/mockserver/model/request.rb', line 16

def allowed_values
  [:GET, :POST, :PUT, :DELETE]
end