Sha256: 72bb408a0ab8b1ba4a7e4960bae5cbb9e03fd698dbb11247cccbc726a87f7201
Contents?: true
Size: 1.11 KB
Versions: 40
Compression:
Stored size: 1.11 KB
Contents
# Style ## Example Style Object ``` { "id": 1, "path": "", "logo": "", "thumbnail": "" } ``` * `id` (int64): Style ID * `path` (string): Folder path This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters. * `logo`: Logo * `thumbnail`: Logo thumbnail * `file` (file): Logo for custom branding. --- ## Show Style ``` Files::Style.find(path) ``` ### Parameters * `path` (string): Required - Style path. --- ## Update Style ``` Files::Style.update(path, file: "file" ) ``` ### Parameters * `path` (string): Required - Style path. * `file` (file): Required - Logo for custom branding. --- ## Delete Style ``` Files::Style.delete(path) ``` ### Parameters * `path` (string): Required - Style path. --- ## Update Style ``` style = Files::Style.list_for(path).first style.update( file: "file" ) ``` ### Parameters * `path` (string): Required - Style path. * `file` (file): Required - Logo for custom branding. --- ## Delete Style ``` style = Files::Style.list_for(path).first style.delete ``` ### Parameters * `path` (string): Required - Style path.
Version data entries
40 entries across 40 versions & 1 rubygems