Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 929 Bytes

ScreenshotUpdateParameters.md

File metadata and controls

23 lines (16 loc) · 929 Bytes

Phrase::ScreenshotUpdateParameters

Properties

Name Type Description Notes
branch String specify the branch to use [optional]
name String Name of the screenshot [optional]
description String Description of the screenshot. Send an empty string or `null` to clear the value; omit the field to leave it unchanged. The Phrase CLI drops `null` values before sending, so use an empty string there. [optional]
filename File Screenshot file [optional]

Code Sample

require 'phrase'

instance = Phrase::ScreenshotUpdateParameters.new(branch: 'my-feature-branch',
                                 name: 'A screenshot name',
                                 description: 'A screenshot description',
                                 filename: File.new('/path/to/file'))