Sha256: 2084bc6b2313252fccef9da2d268188bf8bfda2c6c98d4192b68c19b891bb430
Contents?: true
Size: 610 Bytes
Versions: 18
Compression:
Stored size: 610 Bytes
Contents
# frozen_string_literal: true class VolumeSnapshot < Praxis::MediaType identifier 'application/json' attributes do attribute :id, Integer attribute :name, String, regexp: /snapshot-(\w+)/ end default_fieldset do attribute :id attribute :name end class CollectionSummary < Praxis::MediaType identifier 'application/json' attributes do attribute :name, String, regexp: /snapshots-(\w+)/ attribute :size, Integer attribute :href, String end default_fieldset do attribute :name attribute :size attribute :href end end end
Version data entries
18 entries across 18 versions & 1 rubygems