Module: SoberSwag::Reporting::Input

Defined in:
lib/sober_swag/reporting/input.rb,
lib/sober_swag/reporting/input/base.rb,
lib/sober_swag/reporting/input/bool.rb,
lib/sober_swag/reporting/input/enum.rb,
lib/sober_swag/reporting/input/list.rb,
lib/sober_swag/reporting/input/null.rb,
lib/sober_swag/reporting/input/text.rb,
lib/sober_swag/reporting/input/defer.rb,
lib/sober_swag/reporting/input/either.rb,
lib/sober_swag/reporting/input/format.rb,
lib/sober_swag/reporting/input/mapped.rb,
lib/sober_swag/reporting/input/number.rb,
lib/sober_swag/reporting/input/object.rb,
lib/sober_swag/reporting/input/struct.rb,
lib/sober_swag/reporting/input/pattern.rb,
lib/sober_swag/reporting/input/in_range.rb,
lib/sober_swag/reporting/input/described.rb,
lib/sober_swag/reporting/input/interface.rb,
lib/sober_swag/reporting/input/converting.rb,
lib/sober_swag/reporting/input/dictionary.rb,
lib/sober_swag/reporting/input/referenced.rb,
lib/sober_swag/reporting/input/multiple_of.rb,
lib/sober_swag/reporting/input/merge_objects.rb,
lib/sober_swag/reporting/input/converting/bool.rb,
lib/sober_swag/reporting/input/converting/date.rb,
lib/sober_swag/reporting/input/object/property.rb,
lib/sober_swag/reporting/input/converting/decimal.rb,
lib/sober_swag/reporting/input/converting/integer.rb,
lib/sober_swag/reporting/input/converting/date_time.rb

Overview

Module for SoberSwag reporting inputs.

Defined Under Namespace

Modules: Converting, Interface Classes: Base, Bool, Defer, Described, Dictionary, Either, Enum, Format, InRange, List, Mapped, MergeObjects, MultipleOf, Null, Number, Object, Pattern, Referenced, Struct, Text

Class Method Summary collapse

Class Method Details

.boolSoberSwag::Reporting::Input::Bool



32
33
34
# File 'lib/sober_swag/reporting/input.rb', line 32

def bool
  Bool.new
end

.nullSoberSwag::Reporting::Input::Null



50
51
52
# File 'lib/sober_swag/reporting/input.rb', line 50

def null
  Null.new
end

.numberSoberSwag::Reporting::Input::Number



44
45
46
# File 'lib/sober_swag/reporting/input.rb', line 44

def number
  Number.new
end

.textSoberSwag::Reporting::Input::Text



38
39
40
# File 'lib/sober_swag/reporting/input.rb', line 38

def text
  Text.new
end