Sha256: 5eb9d7da4454120a9b3ca42a4ac3dd73088a235f344e41acd6a45ba33e995ae8
Contents?: true
Size: 1.14 KB
Versions: 85
Compression:
Stored size: 1.14 KB
Contents
# Style ## Example Style Object ``` { "id": 1, "path": "", "logo": "https://mysite.files.com/...", "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
85 entries across 85 versions & 1 rubygems