Sha256: 80bfb130d6726f7d099db742de53e8fdbe6f17619a4b2fdbfa086c9f61426d12

Contents?: true

Size: 1.15 KB

Versions: 115

Compression:

Stored size: 1.15 KB

Contents

# Style

## Example Style Object

```
{
  "id": 1,
  "path": "example",
  "logo": "https://mysite.files.com/...",
  "thumbnail": "example"
}
```

* `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.find(path)

style.update(
  file: "file"
)
```

### Parameters

* `path` (string): Required - Style path.
* `file` (file): Required - Logo for custom branding.


---

## Delete Style

```
style = Files::Style.find(path)

style.delete
```

### Parameters

* `path` (string): Required - Style path.

Version data entries

115 entries across 115 versions & 1 rubygems

Version Path
files.com-1.1.197 docs/style.md
files.com-1.1.196 docs/style.md
files.com-1.1.195 docs/style.md
files.com-1.1.194 docs/style.md
files.com-1.1.193 docs/style.md
files.com-1.1.192 docs/style.md
files.com-1.1.191 docs/style.md
files.com-1.1.190 docs/style.md
files.com-1.1.189 docs/style.md
files.com-1.1.188 docs/style.md
files.com-1.1.187 docs/style.md
files.com-1.1.186 docs/style.md
files.com-1.1.185 docs/style.md
files.com-1.1.184 docs/style.md
files.com-1.1.183 docs/style.md
files.com-1.1.182 docs/style.md
files.com-1.1.181 docs/style.md
files.com-1.1.180 docs/style.md
files.com-1.1.179 docs/style.md
files.com-1.1.178 docs/style.md