Class: Copper::DataTypes::ImageClass
- Inherits:
-
Object
- Object
- Copper::DataTypes::ImageClass
- Defined in:
- lib/copper/data_types/image.rb
Instance Attribute Summary collapse
-
#fqin ⇒ Object
Returns the value of attribute fqin.
-
#name ⇒ Object
Returns the value of attribute name.
-
#registry ⇒ Object
Returns the value of attribute registry.
-
#registry_url ⇒ Object
Returns the value of attribute registry_url.
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Method Summary collapse
-
#initialize(hash) ⇒ ImageClass
constructor
A new instance of ImageClass.
- #to_s ⇒ Object
Constructor Details
#initialize(hash) ⇒ ImageClass
Returns a new instance of ImageClass.
96 97 98 99 100 101 102 |
# File 'lib/copper/data_types/image.rb', line 96 def initialize(hash) @fqin = hash[:fqin] @registry = hash[:registry] @registry_url = hash[:registry_url] @name = hash[:name] @tag = hash[:tag] end |
Instance Attribute Details
#fqin ⇒ Object
Returns the value of attribute fqin.
90 91 92 |
# File 'lib/copper/data_types/image.rb', line 90 def fqin @fqin end |
#name ⇒ Object
Returns the value of attribute name.
93 94 95 |
# File 'lib/copper/data_types/image.rb', line 93 def name @name end |
#registry ⇒ Object
Returns the value of attribute registry.
91 92 93 |
# File 'lib/copper/data_types/image.rb', line 91 def registry @registry end |
#registry_url ⇒ Object
Returns the value of attribute registry_url.
92 93 94 |
# File 'lib/copper/data_types/image.rb', line 92 def registry_url @registry_url end |
#tag ⇒ Object
Returns the value of attribute tag.
94 95 96 |
# File 'lib/copper/data_types/image.rb', line 94 def tag @tag end |
Instance Method Details
#to_s ⇒ Object
104 105 106 |
# File 'lib/copper/data_types/image.rb', line 104 def to_s "fqin:#{fqin}, registry:#{registry}, registry_url:#{registry_url}, name:#{name}, tag:#{tag}" end |