Class: ImageRef
- Inherits:
-
Object
- Object
- ImageRef
- Defined in:
- lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/image_ref.rb
Instance Attribute Summary collapse
-
#image_link ⇒ Object
Returns the value of attribute image_link.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path:, image_link:) ⇒ ImageRef
constructor
A new instance of ImageRef.
Constructor Details
#initialize(path:, image_link:) ⇒ ImageRef
Returns a new instance of ImageRef.
8 9 10 11 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/image_ref.rb', line 8 def initialize(path:, image_link:) @path = path @image_link = image_link end |
Instance Attribute Details
#image_link ⇒ Object
Returns the value of attribute image_link.
6 7 8 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/image_ref.rb', line 6 def image_link @image_link end |
#path ⇒ Object
Returns the value of attribute path.
6 7 8 |
# File 'lib/admiral-tools-figma/helper/figma/figma_image_downloader/models/image_ref.rb', line 6 def path @path end |