Class: Fog::Compute::Linode::StackScripts
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Linode::StackScripts
- Defined in:
- lib/fog/linode/models/compute/stack_scripts.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
10 11 12 |
# File 'lib/fog/linode/models/compute/stack_scripts.rb', line 10 def all load stackscripts end |
#get(id) ⇒ Object
14 15 16 17 18 |
# File 'lib/fog/linode/models/compute/stack_scripts.rb', line 14 def get(id) new stackscripts(id).first rescue Fog::Compute::Linode::NotFound nil end |