Sha256: 13faa21766fe377994b88ed823f71d12b3fac30070eed39b3103b1bb94fb8159
Contents?: true
Size: 710 Bytes
Versions: 23
Compression:
Stored size: 710 Bytes
Contents
class VolumeSnapshot < Praxis::MediaType identifier 'application/json' attributes do attribute :id, Integer attribute :name, String, regexp: /snapshot-(\w+)/ end view :default do attribute :id attribute :name end view :link do attribute :id end class CollectionSummary < Praxis::MediaType identifier 'application/json' attributes do attribute :name, String, regexp: /snapshots-(\w+)/ attribute :size, Integer attribute :href, String end view :default do attribute :name attribute :size attribute :href end view :link do attribute :name attribute :size attribute :href end end end
Version data entries
23 entries across 23 versions & 1 rubygems