files.com 1.1.40 → 1.1.41

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0840bc45ae9ac119cfb147bc94aaf569ca47c1d53d70849aa86ac2429d058459'
4
- data.tar.gz: 213f49d62fbd0bd07ac4bbf3fba14a58f948dceddeb6f03c56252a5a863f54a5
3
+ metadata.gz: f9186da3def49e941ababb1f4e54541124dfb2d9fcd705ccc2b659b4c6aa70ae
4
+ data.tar.gz: 2ec1348fde1a96c1226f731a6accf4b4a2b8390d94bb2bc9c9d4f4e2c51adaa8
5
5
  SHA512:
6
- metadata.gz: 0440b394a06fbe0c2af018a119b9266c5730607553b439c97683ff5a561ee7c49786e02b2bad8b27ef295ad40e125111d60a75682033443c449d7a925a4274c8
7
- data.tar.gz: 908d309d404424f59d5ce677a11f4199b00d2f743f80260be105776c9d39cbafecc0b8d3757ca13613c3a701634e273e9e6746aac172af52981fc0da5f41b100
6
+ metadata.gz: 126104555df89adfa421608d08bd846af50407498269e051417818be496a9fe430b8fa561158dfd8a6dc627bde3c3b6c6e6a9c80acde285b4975cda4da210980
7
+ data.tar.gz: 398a9477d9b3be43f767a30c93aca9e22ce2170af5a1a79ad84984aa3164a10e2b7de14635714bdce74e8b3bcb96f673b959072b66454a5c37fed489606e8e96
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.40
1
+ 1.1.41
data/docs/behavior.md CHANGED
@@ -12,7 +12,8 @@
12
12
  "description": "example",
13
13
  "value": {
14
14
  "key": "example value"
15
- }
15
+ },
16
+ "disable_parent_folder_behavior": true
16
17
  }
17
18
  ```
18
19
 
@@ -23,6 +24,7 @@
23
24
  * `name` (string): Name for this behavior.
24
25
  * `description` (string): Description for this behavior.
25
26
  * `value` (object): Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
27
+ * `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
26
28
  * `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
27
29
  * `attachment_delete` (boolean): If true, will delete the file stored in attachment
28
30
 
@@ -72,6 +72,15 @@ module Files
72
72
  @attributes[:value] = value
73
73
  end
74
74
 
75
+ # boolean - If true, the parent folder's behavior will be disabled for this folder.
76
+ def disable_parent_folder_behavior
77
+ @attributes[:disable_parent_folder_behavior]
78
+ end
79
+
80
+ def disable_parent_folder_behavior=(value)
81
+ @attributes[:disable_parent_folder_behavior] = value
82
+ end
83
+
75
84
  # file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
76
85
  def attachment_file
77
86
  @attributes[:attachment_file]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.40"
4
+ VERSION = "1.1.41"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.40
4
+ version: 1.1.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com