Sha256: 19f2e77e3388f04c73519afdcdb59278a83e27db4694a4b590ed127968ebf6e4
Contents?: true
Size: 1.12 KB
Versions: 50
Compression:
Stored size: 1.12 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` (Image): Logo * `thumbnail` (Image): 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.new style.update( file: "file" ) ``` ### Parameters * `path` (string): Required - Style path. * `file` (file): Required - Logo for custom branding. --- ## Delete Style ``` style = Files::Style.new style.delete ``` ### Parameters * `path` (string): Required - Style path.
Version data entries
50 entries across 50 versions & 1 rubygems