Class: Tim::TargetImage

Inherits:
Base
  • Object
show all
Defined in:
app/models/tim/target_image.rb

Instance Method Summary collapse

Instance Method Details

#imported?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'app/models/tim/target_image.rb', line 27

def imported?
  image_version.base_image.import
end

#snapshot?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'app/models/tim/target_image.rb', line 31

def snapshot?
  build_method == "SNAPSHOT"
end

#templateObject



23
24
25
# File 'app/models/tim/target_image.rb', line 23

def template
  image_version.base_image.template
end