Sha256: 283e7c3c9c7d7e5d262eed9a21c187ac64843036a7620f3a115b85ad08806e08

Contents?: true

Size: 1.11 KB

Versions: 28

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.list(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

28 entries across 28 versions & 1 rubygems

Version Path
files.com-1.0.68 docs/style.md
files.com-1.0.67 docs/style.md
files.com-1.0.66 docs/style.md
files.com-1.0.65 docs/style.md
files.com-1.0.64 docs/style.md
files.com-1.0.63 docs/style.md
files.com-1.0.62 docs/style.md
files.com-1.0.61 docs/style.md