Skip to content

Commit

Permalink
Add operations to DiskAttachment (#159)
Browse files Browse the repository at this point in the history
* Add operations to DiskAttachment

* Add formatted to PersistentDisk
  • Loading branch information
joshraker committed Aug 14, 2023
1 parent b53a8f5 commit 592c442
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/aptible/api/disk_attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ class DiskAttachment < Resource
embeds_one :persistent_disk
embeds_one :service

has_many :operations

field :id
field :mount_point
field :created_at, type: Time
Expand Down
1 change: 1 addition & 0 deletions lib/aptible/api/persistent_disk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class PersistentDisk < Resource
field :deleted_at, type: Time
field :baseline_iops
field :availability_zone
field :formatted
end
end
end
2 changes: 1 addition & 1 deletion lib/aptible/api/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Aptible
module Api
VERSION = '1.4.5'.freeze
VERSION = '1.4.6'.freeze
end
end

0 comments on commit 592c442

Please sign in to comment.