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

Version Path
files.com-1.0.296 docs/style.md
files.com-1.0.295 docs/style.md
files.com-1.0.294 docs/style.md
files.com-1.0.293 docs/style.md
files.com-1.0.292 docs/style.md
files.com-1.0.291 docs/style.md
files.com-1.0.290 docs/style.md
files.com-1.0.289 docs/style.md
files.com-1.0.288 docs/style.md
files.com-1.0.287 docs/style.md
files.com-1.0.286 docs/style.md
files.com-1.0.285 docs/style.md
files.com-1.0.284 docs/style.md
files.com-1.0.283 docs/style.md
files.com-1.0.282 docs/style.md
files.com-1.0.281 docs/style.md
files.com-1.0.280 docs/style.md
files.com-1.0.279 docs/style.md
files.com-1.0.278 docs/style.md
files.com-1.0.277 docs/style.md