Class: ContainerRegistry::Config
- Inherits:
-
Object
- Object
- ContainerRegistry::Config
- Defined in:
- lib/container_registry/config.rb
Instance Attribute Summary collapse
-
#blob ⇒ Object
readonly
Returns the value of attribute blob.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Instance Method Summary collapse
- #[](key) ⇒ Object
-
#initialize(tag, blob) ⇒ Config
constructor
A new instance of Config.
Constructor Details
Instance Attribute Details
#blob ⇒ Object (readonly)
Returns the value of attribute blob.
5 6 7 |
# File 'lib/container_registry/config.rb', line 5 def blob @blob end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/container_registry/config.rb', line 5 def data @data end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
5 6 7 |
# File 'lib/container_registry/config.rb', line 5 def tag @tag end |
Instance Method Details
#[](key) ⇒ Object
13 14 15 16 17 |
# File 'lib/container_registry/config.rb', line 13 def [](key) return unless data data[key] end |