Sha256: 7dc4d0b55717ffe2d732c48675fc06c96ff10dcce6df6f48a94acc4f6b646da4

Contents?: true

Size: 1.14 KB

Versions: 266

Compression:

Stored size: 1.14 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.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

266 entries across 266 versions & 1 rubygems

Version Path
files.com-1.1.66 docs/style.md
files.com-1.1.65 docs/style.md
files.com-1.1.64 docs/style.md
files.com-1.1.63 docs/style.md
files.com-1.1.62 docs/style.md
files.com-1.1.61 docs/style.md
files.com-1.1.60 docs/style.md
files.com-1.1.59 docs/style.md
files.com-1.1.58 docs/style.md
files.com-1.1.57 docs/style.md
files.com-1.1.56 docs/style.md
files.com-1.1.55 docs/style.md
files.com-1.1.54 docs/style.md
files.com-1.1.53 docs/style.md
files.com-1.1.52 docs/style.md
files.com-1.1.51 docs/style.md
files.com-1.1.50 docs/style.md
files.com-1.1.49 docs/style.md
files.com-1.1.48 docs/style.md
files.com-1.1.47 docs/style.md