Sha256: 0e5c14bf96b8c14c19836529d3ed631e6a2503fc3b4b0d21eb78449a33d96ee2
Contents?: true
Size: 592 Bytes
Versions: 23
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true 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
23 entries across 23 versions & 1 rubygems