Sha256: c1994aa7059dd2fad9c309303c05520cb2e01bba2e517e822f35bedb28f9024f

Contents?: true

Size: 240 Bytes

Versions: 21

Compression:

Stored size: 240 Bytes

Contents

module CloudstackClient

	module Region

		##
    # List regions.

    def list_regions(args = {})
      params = {
        'command' => 'listRegions',
      }

      json = send_request(params)
      json['region'] || []
    end

	end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
cloudstack_client-0.9.7 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.9.6 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.9.5 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.9.3 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.9.2 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.9.1 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.9.0 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.8.0 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.7.1 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.7.0 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.6.4 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.6.3 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.6.2 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.6.0 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.6.1 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.5.0 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.4.4 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.4.3 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.4.2 lib/cloudstack_client/commands/region.rb
cloudstack_client-0.4.1 lib/cloudstack_client/commands/region.rb