Sha256: 76e89f187c22c792c6eb1e0776e2b71ed096505334a63135f4c93129e09b7614
Contents?: true
Size: 287 Bytes
Versions: 2
Compression:
Stored size: 287 Bytes
Contents
schema :product do attribute :name, string attribute :code, string attribute :price, decimal | decimal_string attribute :category_id, schema_id(:category) attribute :category, embedded_schema(:category), :for => [:checks] end schema :category do attribute :name, string end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restspec-0.0.2 | examples/store-api-tests/spec/api/restspec/schemas.rb |
restspec-0.0.1 | examples/store-api-tests/spec/api/restspec/schemas.rb |