Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.15 KB

File metadata and controls

21 lines (14 loc) · 1.15 KB

Phrase::ScreenshotMarkerUpdateParameters

Properties

Name Type Description Notes
branch String specify the branch to use [optional]
key_id String Specify the Key ID which should be highlighted on the specified screenshot. The Key must belong to the project. [optional]
presentation String Presentation details of the screenshot marker in JSON format. Each Screenshot Marker is represented as a rectangular shaped highlight box with the name of the specified Key attached. You can specify the marker position on the screenshot (`x`-axis and `y`-axis in pixels) from the top left corner of the screenshot and the dimensions of the marker itself (`w` and `h` in pixels). [optional]

Code Sample

require 'Phrase'

instance = Phrase::ScreenshotMarkerUpdateParameters.new(branch: my-feature-branch,
                                 key_id: abcd1234abcd1234abcd1234abcd1234,
                                 presentation: { "x": 100, "y": 100, "w": 100, "h": 100 })