Class: MockServer::Model::BodyType

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

Overview

An enum for body type

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



13
14
15
# File 'lib/mockserver/model/body.rb', line 13

def allowed_values
  [:STRING, :REGEX, :XPATH, :PARAMETERS, :BINARY]
end