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

Version Path
files.com-1.0.127 docs/style.md
files.com-1.0.126 docs/style.md
files.com-1.0.125 docs/style.md
files.com-1.0.124 docs/style.md
files.com-1.0.123 docs/style.md
files.com-1.0.122 docs/style.md
files.com-1.0.121 docs/style.md
files.com-1.0.120 docs/style.md
files.com-1.0.119 docs/style.md
files.com-1.0.118 docs/style.md
files.com-1.0.117 docs/style.md
files.com-1.0.116 docs/style.md
files.com-1.0.115 docs/style.md
files.com-1.0.114 docs/style.md
files.com-1.0.113 docs/style.md
files.com-1.0.112 docs/style.md
files.com-1.0.111 docs/style.md
files.com-1.0.110 docs/style.md
files.com-1.0.109 docs/style.md
files.com-1.0.108 docs/style.md