Sha256: 84fa4177316e910ff7bcbd60ab40e382cff9a5fe3ac12ede5cda1a3cc2608f09
Contents?: true
Size: 562 Bytes
Versions: 9
Compression:
Stored size: 562 Bytes
Contents
class Volume < Praxis::MediaType identifier 'application/vnd.acme.volume' attributes do attribute :id, Integer attribute :name, String attribute :source, VolumeSnapshot attribute :snapshots, Praxis::Collection.of(VolumeSnapshot) attribute :snapshots_summary, VolumeSnapshot::CollectionSummary end default_fieldset do attribute :id attribute :name attribute :source attribute :snapshots end class Collection < Praxis::Collection member_type Volume identifier 'application/vnd.acme.volumes' end end
Version data entries
9 entries across 9 versions & 1 rubygems