Sha256: c3c77975dc9158efea5244e26cf29be1304650e93c72e911afeb1f7c6890600a
Contents?: true
Size: 688 Bytes
Versions: 26
Compression:
Stored size: 688 Bytes
Contents
require "date" require "time" require "bigdecimal" module Foobara class Model class << self def install! TypeDeclarations.register_type_declaration(TypeDeclarations::Handlers::ExtendModelTypeDeclaration.new) TypeDeclarations.register_type_declaration(TypeDeclarations::Handlers::ExtendRegisteredModelTypeDeclaration.new) atomic_duck = Namespace.global.foobara_lookup_type!(:atomic_duck) BuiltinTypes.build_and_register!(:model, atomic_duck, nil) # address = build_and_register!(:address, model) # us_address = build_and_register!(:us_address, model) end def reset_all install! end end end end
Version data entries
26 entries across 26 versions & 1 rubygems