mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
18 lines
452 B
Ruby
18 lines
452 B
Ruby
module Fog
|
|
module Linode
|
|
class Compute
|
|
class Real
|
|
def avail_configs(linode_id, config_id=nil, options={})
|
|
if config_id
|
|
options.merge!(:configid => config_id)
|
|
end
|
|
request(
|
|
:expects => 200,
|
|
:method => 'GET',
|
|
:query => { :api_action => 'linode.config.list', :linodeId => linode_id }.merge!(options)
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|