Class: DLDInternet::AWS::EC2::Instance_Types::Get

Inherits:
Thor
  • Object
show all
Defined in:
lib/dldinternet/aws/ec2/instance_types/get.rb

Overview

noinspection RubyParenthesesAfterMethodCallInspection

Instance Method Summary collapse

Instance Method Details

#load(path) ⇒ Object



22
23
24
25
26
27
28
# File 'lib/dldinternet/aws/ec2/instance_types/get.rb', line 22

def load(path)
  parse_options
  puts 'load instance types' if options[:verbose]

  it = loadEC2_Instance_Types(path)
  ap it
end

#save(path) ⇒ Object



31
32
33
34
35
36
37
# File 'lib/dldinternet/aws/ec2/instance_types/get.rb', line 31

def save(path)
  parse_options
  puts 'save instance types' if options[:verbose]

  it = getEC2_Instance_Types()
  saveEC2_Instance_Types(path, it)
end