Sha256: 78d49e6e3eb557f1885a4c00abc038a097bb859ad40f8c21b33e3f00d1441f9f

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

module Restspec
  module Schema
    module Types
    end
  end
end

require_relative './types/basic_type'
require_relative './types/string_type'
require_relative './types/integer_type'
require_relative './types/decimal_type'
require_relative './types/boolean_type'
require_relative './types/decimal_string_type'
require_relative './types/schema_id_type'
require_relative './types/array_type'
require_relative './types/one_of_type'
require_relative './types/hash_type'
require_relative './types/null_type'
require_relative './types/embedded_schema_type'
require_relative './types/date_type'
require_relative './types/datetime_type'

module Restspec::Schema::Types
  ALL = {
    string: StringType,
    integer: IntegerType,
    decimal: DecimalType,
    boolean: BooleanType,
    decimal_string: DecimalStringType,
    schema_id: SchemaIdType,
    array: ArrayType,
    one_of: OneOfType,
    hash: HashType,
    null: NullType,
    embedded_schema: EmbeddedSchemaType,
    date: DateType,
    datetime: DateTimeType
  }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restspec-0.0.4 lib/restspec/schema/types.rb
restspec-0.0.3 lib/restspec/schema/types.rb