Sha256: 8223cbf57938021e0852c3be93893c44a9f30a5ca3c5fb2c889cfdb7d519234c
Contents?: true
Size: 681 Bytes
Versions: 2
Compression:
Stored size: 681 Bytes
Contents
# Abstract base class for all types. # # Concrete type classes must set `self.openapi_type` and implement # the `#coerce_input` and `#coerce_response` methods. # # Instances of types are initialized with the object that they represent. # The object is a parameter hash for inputs and a manually passed hash # or object when rendering a response. Taro::Types::BaseType = Data.define(:object) do require_relative "shared" extend Taro::Types::Shared::AdditionalProperties extend Taro::Types::Shared::Description extend Taro::Types::Shared::OpenAPIName extend Taro::Types::Shared::OpenAPIType extend Taro::Types::Shared::Rendering include Taro::Types::Shared::Errors end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
taro-1.1.0 | lib/taro/types/base_type.rb |
taro-1.0.0 | lib/taro/types/base_type.rb |