class RightScaleCLI::RecurringVolumeAttachments
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/rightscale_cli/recurring_volume_attachments.rb, line 25 def initialize(*args) super @client = RightScaleCLI::Client.new(options) @logger = RightScaleCLI::Logger.new end
Public Instance Methods
list()
click to toggle source
# File lib/rightscale_cli/recurring_volume_attachments.rb, line 36 def list() attachments = [] filter = [] @client.client.clouds(:id => options[:cloud]).show.recurring_volume_attachments(:filter => filter).index.each do |attach| attachments.push(attach) end @client.render(attachments, 'recurring_volume_attachments') end