Class: MockServer::Model::Boolean

Inherits:
Enum
  • Object
show all
Defined in:
lib/mockserver/model/times.rb

Overview

Enum for boolean values since Ruby does not have this by default

Instance Method Summary collapse

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



12
13
14
# File 'lib/mockserver/model/times.rb', line 12

def allowed_values
  [true, false]
end