mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
21 lines
478 B
Ruby
21 lines
478 B
Ruby
|
module Fog
|
||
|
module Linode
|
||
|
class Compute
|
||
|
class Real
|
||
|
def linode_create(datacenter_id, payment_term, plan_id)
|
||
|
request(
|
||
|
:expects => 200,
|
||
|
:method => 'GET',
|
||
|
:query => {
|
||
|
:api_action => 'linode.create',
|
||
|
:datacenterId => datacenter_id,
|
||
|
:paymentTerm => payment_term,
|
||
|
:planId => plan_id
|
||
|
}
|
||
|
)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|