class Leeroy::Types::Image
Public Class Methods
new(*args, &block)
click to toggle source
Calls superclass method
# File lib/leeroy/types/image.rb, line 21 def initialize(*args, &block) self.aws_params = [ :instance_id, :name, ] self.dump_properties = self.aws_params super end
Public Instance Methods
run_params()
click to toggle source
# File lib/leeroy/types/image.rb, line 32 def run_params begin run_params = Leeroy::Types::Mash.new self.aws_params.each {|key| run_params.store(key.to_s, self.fetch(key))} logger.debug "run_params: #{run_params.inspect}" run_params rescue StandardError => e raise e end end
to_s()
click to toggle source
# File lib/leeroy/types/image.rb, line 47 def to_s self.instance_id end