Sha256: ee10b3f0ede1cccc5c2d93afd9684e349fc48f1983f52869b5832d4eecd311ef
Contents?: true
Size: 707 Bytes
Versions: 1
Compression:
Stored size: 707 Bytes
Contents
module Fog module Linode class Compute class Real # List all linodes user has access or delete to # # ==== Parameters # * linodeId<~Integer>: Limit the list to the specified LinodeID # # ==== Returns # * response<~Excon::Response>: # * body<~Array>: # TODO: docs def linode_list(linode_id=nil) options = {} if linode_id options.merge!(:linodeId => linode_id) end request( :expects => 200, :method => 'GET', :query => { :api_action => 'linode.list' }.merge!(options) ) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-0.8.2 | lib/fog/compute/requests/linode/linode_list.rb |