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.4.0 lib/cloudstack_client/commands/region.rb