lib/lunanode/api_actions/default/volume.rb in lunanode-0.2.0 vs lib/lunanode/api_actions/default/volume.rb in lunanode-0.3.0
- old
+ new
@@ -40,8 +40,12 @@
end
def volume_snapshot_list(region:)
action(:volume, :"snapshot-list", region: region)
end
+
+ def volume_rename(volume_id:, name:)
+ action(:volume, :rename, volume_id: volume_id, name: name)
+ end
end
end
end