post-for-me 0.1.0.pre.alpha.18 → 0.1.0.pre.alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/post_for_me/client.rb +1 -2
- data/lib/post_for_me/models/bluesky_configuration_dto.rb +14 -1
- data/lib/post_for_me/models/create_social_post.rb +42 -5
- data/lib/post_for_me/models/facebook_configuration_dto.rb +27 -2
- data/lib/post_for_me/models/instagram_configuration_dto.rb +14 -1
- data/lib/post_for_me/models/linkedin_configuration_dto.rb +14 -1
- data/lib/post_for_me/models/pinterest_configuration_dto.rb +14 -1
- data/lib/post_for_me/models/platform_post.rb +421 -5
- data/lib/post_for_me/models/social_account_list_params.rb +21 -1
- data/lib/post_for_me/models/social_post.rb +41 -5
- data/lib/post_for_me/models/social_post_result.rb +139 -1
- data/lib/post_for_me/models/threads_configuration_dto.rb +14 -1
- data/lib/post_for_me/models/tiktok_configuration.rb +14 -1
- data/lib/post_for_me/models/twitter_configuration_dto.rb +14 -1
- data/lib/post_for_me/models/youtube_configuration_dto.rb +14 -1
- data/lib/post_for_me/resources/social_account_feeds.rb +1 -2
- data/lib/post_for_me/resources/social_accounts.rb +3 -1
- data/lib/post_for_me/resources/social_posts.rb +2 -2
- data/lib/post_for_me/version.rb +1 -1
- data/rbi/post_for_me/client.rbi +1 -2
- data/rbi/post_for_me/models/bluesky_configuration_dto.rbi +12 -0
- data/rbi/post_for_me/models/create_social_post.rbi +38 -2
- data/rbi/post_for_me/models/facebook_configuration_dto.rbi +25 -3
- data/rbi/post_for_me/models/instagram_configuration_dto.rbi +12 -0
- data/rbi/post_for_me/models/linkedin_configuration_dto.rbi +12 -0
- data/rbi/post_for_me/models/pinterest_configuration_dto.rbi +12 -0
- data/rbi/post_for_me/models/platform_post.rbi +693 -3
- data/rbi/post_for_me/models/social_account_list_params.rbi +54 -0
- data/rbi/post_for_me/models/social_post.rbi +36 -2
- data/rbi/post_for_me/models/social_post_result.rbi +239 -0
- data/rbi/post_for_me/models/threads_configuration_dto.rbi +12 -0
- data/rbi/post_for_me/models/tiktok_configuration.rbi +12 -0
- data/rbi/post_for_me/models/twitter_configuration_dto.rbi +12 -0
- data/rbi/post_for_me/models/youtube_configuration_dto.rbi +12 -0
- data/rbi/post_for_me/resources/social_account_feeds.rbi +1 -2
- data/rbi/post_for_me/resources/social_accounts.rbi +5 -0
- data/rbi/post_for_me/resources/social_posts.rbi +4 -2
- data/sig/post_for_me/models/bluesky_configuration_dto.rbs +5 -0
- data/sig/post_for_me/models/create_social_post.rbs +15 -0
- data/sig/post_for_me/models/facebook_configuration_dto.rbs +13 -3
- data/sig/post_for_me/models/instagram_configuration_dto.rbs +5 -0
- data/sig/post_for_me/models/linkedin_configuration_dto.rbs +5 -0
- data/sig/post_for_me/models/pinterest_configuration_dto.rbs +5 -0
- data/sig/post_for_me/models/platform_post.rbs +378 -1
- data/sig/post_for_me/models/social_account_list_params.rbs +20 -0
- data/sig/post_for_me/models/social_post.rbs +15 -0
- data/sig/post_for_me/models/social_post_result.rbs +105 -0
- data/sig/post_for_me/models/threads_configuration_dto.rbs +5 -0
- data/sig/post_for_me/models/tiktok_configuration.rbs +5 -0
- data/sig/post_for_me/models/twitter_configuration_dto.rbs +5 -0
- data/sig/post_for_me/models/youtube_configuration_dto.rbs +5 -0
- data/sig/post_for_me/resources/social_accounts.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 92694892855ee3b59d02248730dd472d1fcac50450c42653e523e4e409a9499a
|
|
4
|
+
data.tar.gz: 1dca67840d7043d7218cf454601a3b9b7f1c3454ced1f86d061cdb33cf5f5d0c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 868cd4696a14f9e675a8d01b7e50f0fb1cbc414e612f8de42239c1d7f7d9cd513bce100f5fc24d9262c877d7d72831c73939fef72ed52762e50b712bdd3a4833
|
|
7
|
+
data.tar.gz: 7817ee3774c6dbef546e87d9072d4ab987c0a839661c6859d4d870f643ce1f8c4ebc15cd12d72471ea1f15c96fce5c7a0af6c54739262f6862c05c769cb9d97f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.19 (2026-04-11)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.18...v0.1.0-alpha.19](https://github.com/DayMoonDevelopment/post-for-me-ruby/compare/v0.1.0-alpha.18...v0.1.0-alpha.19)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([e9d2eb5](https://github.com/DayMoonDevelopment/post-for-me-ruby/commit/e9d2eb511818f795101fa9695c849c7f4c2add80))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.18 (2026-04-09)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.17...v0.1.0-alpha.18](https://github.com/DayMoonDevelopment/post-for-me-ruby/compare/v0.1.0-alpha.17...v0.1.0-alpha.18)
|
data/README.md
CHANGED
|
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
26
26
|
<!-- x-release-please-start-version -->
|
|
27
27
|
|
|
28
28
|
```ruby
|
|
29
|
-
gem "post-for-me", "~> 0.1.0.pre.alpha.
|
|
29
|
+
gem "post-for-me", "~> 0.1.0.pre.alpha.19"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
<!-- x-release-please-end -->
|
data/lib/post_for_me/client.rb
CHANGED
|
@@ -78,8 +78,7 @@ module PostForMe
|
|
|
78
78
|
# through TikTok Business
|
|
79
79
|
# - **TikTok Business**,
|
|
80
80
|
# - **Youtube**
|
|
81
|
-
# - **Threads
|
|
82
|
-
# unavailable.
|
|
81
|
+
# - **Threads**
|
|
83
82
|
# - **X (Twitter)**
|
|
84
83
|
# - **Bluesky**, Bluesky does not expose views or impressions through their API.
|
|
85
84
|
# - **Pinterest**
|
|
@@ -29,6 +29,14 @@ module PostForMe
|
|
|
29
29
|
# @return [String]
|
|
30
30
|
required :url, String
|
|
31
31
|
|
|
32
|
+
# @!attribute skip_processing
|
|
33
|
+
# If true the media will not be processed at all and instead be posted as is, this
|
|
34
|
+
# may increase chance of post failure if media does not meet platform's
|
|
35
|
+
# requirements. Best used for larger files.
|
|
36
|
+
#
|
|
37
|
+
# @return [Boolean, nil]
|
|
38
|
+
optional :skip_processing, PostForMe::Internal::Type::Boolean, nil?: true
|
|
39
|
+
|
|
32
40
|
# @!attribute tags
|
|
33
41
|
# List of tags to attach to the media
|
|
34
42
|
#
|
|
@@ -49,9 +57,14 @@ module PostForMe
|
|
|
49
57
|
# @return [Object, nil]
|
|
50
58
|
optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
|
|
51
59
|
|
|
52
|
-
# @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
60
|
+
# @!method initialize(url:, skip_processing: nil, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
61
|
+
# Some parameter documentations has been truncated, see
|
|
62
|
+
# {PostForMe::Models::BlueskyConfigurationDto::Media} for more details.
|
|
63
|
+
#
|
|
53
64
|
# @param url [String] Public URL of the media
|
|
54
65
|
#
|
|
66
|
+
# @param skip_processing [Boolean, nil] If true the media will not be processed at all and instead be posted as is, this
|
|
67
|
+
#
|
|
55
68
|
# @param tags [Array<PostForMe::Models::BlueskyConfigurationDto::Media::Tag>, nil] List of tags to attach to the media
|
|
56
69
|
#
|
|
57
70
|
# @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
|
|
@@ -36,7 +36,8 @@ module PostForMe
|
|
|
36
36
|
optional :is_draft, PostForMe::Internal::Type::Boolean, api_name: :isDraft, nil?: true
|
|
37
37
|
|
|
38
38
|
# @!attribute media
|
|
39
|
-
# Array of media
|
|
39
|
+
# Array of media associated with the post. If multiple media items are provided
|
|
40
|
+
# and the placement is `stories`, individual posts are created per media item.
|
|
40
41
|
#
|
|
41
42
|
# @return [Array<PostForMe::Models::CreateSocialPost::Media>, nil]
|
|
42
43
|
optional :media,
|
|
@@ -72,7 +73,7 @@ module PostForMe
|
|
|
72
73
|
#
|
|
73
74
|
# @param is_draft [Boolean, nil] If isDraft is set then the post will not be processed
|
|
74
75
|
#
|
|
75
|
-
# @param media [Array<PostForMe::Models::CreateSocialPost::Media>, nil] Array of media
|
|
76
|
+
# @param media [Array<PostForMe::Models::CreateSocialPost::Media>, nil] Array of media associated with the post. If multiple media items are provided an
|
|
76
77
|
#
|
|
77
78
|
# @param platform_configurations [PostForMe::Models::PlatformConfigurationsDto, nil] Platform-specific configurations for the post
|
|
78
79
|
#
|
|
@@ -244,6 +245,13 @@ module PostForMe
|
|
|
244
245
|
},
|
|
245
246
|
nil?: true
|
|
246
247
|
|
|
248
|
+
# @!attribute set_caption_for_each_image
|
|
249
|
+
# If true, include the caption on each image in a Facebook carousel upload; if
|
|
250
|
+
# false, only include it on the final carousel post
|
|
251
|
+
#
|
|
252
|
+
# @return [Boolean, nil]
|
|
253
|
+
optional :set_caption_for_each_image, PostForMe::Internal::Type::Boolean, nil?: true
|
|
254
|
+
|
|
247
255
|
# @!attribute share_to_feed
|
|
248
256
|
# If false Instagram video posts will only be shown in the Reels tab
|
|
249
257
|
#
|
|
@@ -268,7 +276,7 @@ module PostForMe
|
|
|
268
276
|
},
|
|
269
277
|
nil?: true
|
|
270
278
|
|
|
271
|
-
# @!method initialize(allow_comment: nil, allow_duet: nil, allow_stitch: nil, auto_add_music: nil, board_ids: nil, caption: nil, collaborators: nil, community_id: nil, disclose_branded_content: nil, disclose_your_brand: nil, is_ai_generated: nil, is_draft: nil, link: nil, location: nil, made_for_kids: nil, media: nil, placement: nil, poll: nil, privacy_status: nil, quote_tweet_id: nil, reply_settings: nil, share_to_feed: nil, title: nil, trial_reel_type: nil)
|
|
279
|
+
# @!method initialize(allow_comment: nil, allow_duet: nil, allow_stitch: nil, auto_add_music: nil, board_ids: nil, caption: nil, collaborators: nil, community_id: nil, disclose_branded_content: nil, disclose_your_brand: nil, is_ai_generated: nil, is_draft: nil, link: nil, location: nil, made_for_kids: nil, media: nil, placement: nil, poll: nil, privacy_status: nil, quote_tweet_id: nil, reply_settings: nil, set_caption_for_each_image: nil, share_to_feed: nil, title: nil, trial_reel_type: nil)
|
|
272
280
|
# Some parameter documentations has been truncated, see
|
|
273
281
|
# {PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration} for
|
|
274
282
|
# more details.
|
|
@@ -317,6 +325,8 @@ module PostForMe
|
|
|
317
325
|
#
|
|
318
326
|
# @param reply_settings [Symbol, PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::ReplySettings, nil] Who can reply to the tweet
|
|
319
327
|
#
|
|
328
|
+
# @param set_caption_for_each_image [Boolean, nil] If true, include the caption on each image in a Facebook carousel upload; if fal
|
|
329
|
+
#
|
|
320
330
|
# @param share_to_feed [Boolean, nil] If false Instagram video posts will only be shown in the Reels tab
|
|
321
331
|
#
|
|
322
332
|
# @param title [String, nil] Overrides the `title` from the post
|
|
@@ -330,6 +340,14 @@ module PostForMe
|
|
|
330
340
|
# @return [String]
|
|
331
341
|
required :url, String
|
|
332
342
|
|
|
343
|
+
# @!attribute skip_processing
|
|
344
|
+
# If true the media will not be processed at all and instead be posted as is, this
|
|
345
|
+
# may increase chance of post failure if media does not meet platform's
|
|
346
|
+
# requirements. Best used for larger files.
|
|
347
|
+
#
|
|
348
|
+
# @return [Boolean, nil]
|
|
349
|
+
optional :skip_processing, PostForMe::Internal::Type::Boolean, nil?: true
|
|
350
|
+
|
|
333
351
|
# @!attribute tags
|
|
334
352
|
# List of tags to attach to the media
|
|
335
353
|
#
|
|
@@ -352,9 +370,15 @@ module PostForMe
|
|
|
352
370
|
# @return [Object, nil]
|
|
353
371
|
optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
|
|
354
372
|
|
|
355
|
-
# @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
373
|
+
# @!method initialize(url:, skip_processing: nil, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
374
|
+
# Some parameter documentations has been truncated, see
|
|
375
|
+
# {PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media}
|
|
376
|
+
# for more details.
|
|
377
|
+
#
|
|
356
378
|
# @param url [String] Public URL of the media
|
|
357
379
|
#
|
|
380
|
+
# @param skip_processing [Boolean, nil] If true the media will not be processed at all and instead be posted as is, this
|
|
381
|
+
#
|
|
358
382
|
# @param tags [Array<PostForMe::Models::CreateSocialPost::AccountConfiguration::Configuration::Media::Tag>, nil] List of tags to attach to the media
|
|
359
383
|
#
|
|
360
384
|
# @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
|
|
@@ -555,6 +579,14 @@ module PostForMe
|
|
|
555
579
|
# @return [String]
|
|
556
580
|
required :url, String
|
|
557
581
|
|
|
582
|
+
# @!attribute skip_processing
|
|
583
|
+
# If true the media will not be processed at all and instead be posted as is, this
|
|
584
|
+
# may increase chance of post failure if media does not meet platform's
|
|
585
|
+
# requirements. Best used for larger files.
|
|
586
|
+
#
|
|
587
|
+
# @return [Boolean, nil]
|
|
588
|
+
optional :skip_processing, PostForMe::Internal::Type::Boolean, nil?: true
|
|
589
|
+
|
|
558
590
|
# @!attribute tags
|
|
559
591
|
# List of tags to attach to the media
|
|
560
592
|
#
|
|
@@ -575,9 +607,14 @@ module PostForMe
|
|
|
575
607
|
# @return [Object, nil]
|
|
576
608
|
optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
|
|
577
609
|
|
|
578
|
-
# @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
610
|
+
# @!method initialize(url:, skip_processing: nil, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
611
|
+
# Some parameter documentations has been truncated, see
|
|
612
|
+
# {PostForMe::Models::CreateSocialPost::Media} for more details.
|
|
613
|
+
#
|
|
579
614
|
# @param url [String] Public URL of the media
|
|
580
615
|
#
|
|
616
|
+
# @param skip_processing [Boolean, nil] If true the media will not be processed at all and instead be posted as is, this
|
|
617
|
+
#
|
|
581
618
|
# @param tags [Array<PostForMe::Models::CreateSocialPost::Media::Tag>, nil] List of tags to attach to the media
|
|
582
619
|
#
|
|
583
620
|
# @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
|
|
@@ -37,7 +37,17 @@ module PostForMe
|
|
|
37
37
|
# @return [Symbol, PostForMe::Models::FacebookConfigurationDto::Placement, nil]
|
|
38
38
|
optional :placement, enum: -> { PostForMe::FacebookConfigurationDto::Placement }, nil?: true
|
|
39
39
|
|
|
40
|
-
# @!
|
|
40
|
+
# @!attribute set_caption_for_each_image
|
|
41
|
+
# If true, include the caption on each image in a carousel upload; if false, only
|
|
42
|
+
# include it on the final carousel post
|
|
43
|
+
#
|
|
44
|
+
# @return [Boolean, nil]
|
|
45
|
+
optional :set_caption_for_each_image, PostForMe::Internal::Type::Boolean, nil?: true
|
|
46
|
+
|
|
47
|
+
# @!method initialize(caption: nil, collaborators: nil, location: nil, media: nil, placement: nil, set_caption_for_each_image: nil)
|
|
48
|
+
# Some parameter documentations has been truncated, see
|
|
49
|
+
# {PostForMe::Models::FacebookConfigurationDto} for more details.
|
|
50
|
+
#
|
|
41
51
|
# @param caption [Object, nil] Overrides the `caption` from the post
|
|
42
52
|
#
|
|
43
53
|
# @param collaborators [Array<Array<Object>>, nil] List of page ids to invite as collaborators for a Video Reel
|
|
@@ -47,6 +57,8 @@ module PostForMe
|
|
|
47
57
|
# @param media [Array<PostForMe::Models::FacebookConfigurationDto::Media>, nil] Overrides the `media` from the post
|
|
48
58
|
#
|
|
49
59
|
# @param placement [Symbol, PostForMe::Models::FacebookConfigurationDto::Placement, nil] Facebook post placement
|
|
60
|
+
#
|
|
61
|
+
# @param set_caption_for_each_image [Boolean, nil] If true, include the caption on each image in a carousel upload; if false, only
|
|
50
62
|
|
|
51
63
|
class Media < PostForMe::Internal::Type::BaseModel
|
|
52
64
|
# @!attribute url
|
|
@@ -55,6 +67,14 @@ module PostForMe
|
|
|
55
67
|
# @return [String]
|
|
56
68
|
required :url, String
|
|
57
69
|
|
|
70
|
+
# @!attribute skip_processing
|
|
71
|
+
# If true the media will not be processed at all and instead be posted as is, this
|
|
72
|
+
# may increase chance of post failure if media does not meet platform's
|
|
73
|
+
# requirements. Best used for larger files.
|
|
74
|
+
#
|
|
75
|
+
# @return [Boolean, nil]
|
|
76
|
+
optional :skip_processing, PostForMe::Internal::Type::Boolean, nil?: true
|
|
77
|
+
|
|
58
78
|
# @!attribute tags
|
|
59
79
|
# List of tags to attach to the media
|
|
60
80
|
#
|
|
@@ -75,9 +95,14 @@ module PostForMe
|
|
|
75
95
|
# @return [Object, nil]
|
|
76
96
|
optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
|
|
77
97
|
|
|
78
|
-
# @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
98
|
+
# @!method initialize(url:, skip_processing: nil, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
99
|
+
# Some parameter documentations has been truncated, see
|
|
100
|
+
# {PostForMe::Models::FacebookConfigurationDto::Media} for more details.
|
|
101
|
+
#
|
|
79
102
|
# @param url [String] Public URL of the media
|
|
80
103
|
#
|
|
104
|
+
# @param skip_processing [Boolean, nil] If true the media will not be processed at all and instead be posted as is, this
|
|
105
|
+
#
|
|
81
106
|
# @param tags [Array<PostForMe::Models::FacebookConfigurationDto::Media::Tag>, nil] List of tags to attach to the media
|
|
82
107
|
#
|
|
83
108
|
# @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
|
|
@@ -74,6 +74,14 @@ module PostForMe
|
|
|
74
74
|
# @return [String]
|
|
75
75
|
required :url, String
|
|
76
76
|
|
|
77
|
+
# @!attribute skip_processing
|
|
78
|
+
# If true the media will not be processed at all and instead be posted as is, this
|
|
79
|
+
# may increase chance of post failure if media does not meet platform's
|
|
80
|
+
# requirements. Best used for larger files.
|
|
81
|
+
#
|
|
82
|
+
# @return [Boolean, nil]
|
|
83
|
+
optional :skip_processing, PostForMe::Internal::Type::Boolean, nil?: true
|
|
84
|
+
|
|
77
85
|
# @!attribute tags
|
|
78
86
|
# List of tags to attach to the media
|
|
79
87
|
#
|
|
@@ -94,9 +102,14 @@ module PostForMe
|
|
|
94
102
|
# @return [Object, nil]
|
|
95
103
|
optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
|
|
96
104
|
|
|
97
|
-
# @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
105
|
+
# @!method initialize(url:, skip_processing: nil, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
106
|
+
# Some parameter documentations has been truncated, see
|
|
107
|
+
# {PostForMe::Models::InstagramConfigurationDto::Media} for more details.
|
|
108
|
+
#
|
|
98
109
|
# @param url [String] Public URL of the media
|
|
99
110
|
#
|
|
111
|
+
# @param skip_processing [Boolean, nil] If true the media will not be processed at all and instead be posted as is, this
|
|
112
|
+
#
|
|
100
113
|
# @param tags [Array<PostForMe::Models::InstagramConfigurationDto::Media::Tag>, nil] List of tags to attach to the media
|
|
101
114
|
#
|
|
102
115
|
# @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
|
|
@@ -29,6 +29,14 @@ module PostForMe
|
|
|
29
29
|
# @return [String]
|
|
30
30
|
required :url, String
|
|
31
31
|
|
|
32
|
+
# @!attribute skip_processing
|
|
33
|
+
# If true the media will not be processed at all and instead be posted as is, this
|
|
34
|
+
# may increase chance of post failure if media does not meet platform's
|
|
35
|
+
# requirements. Best used for larger files.
|
|
36
|
+
#
|
|
37
|
+
# @return [Boolean, nil]
|
|
38
|
+
optional :skip_processing, PostForMe::Internal::Type::Boolean, nil?: true
|
|
39
|
+
|
|
32
40
|
# @!attribute tags
|
|
33
41
|
# List of tags to attach to the media
|
|
34
42
|
#
|
|
@@ -49,9 +57,14 @@ module PostForMe
|
|
|
49
57
|
# @return [Object, nil]
|
|
50
58
|
optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
|
|
51
59
|
|
|
52
|
-
# @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
60
|
+
# @!method initialize(url:, skip_processing: nil, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
61
|
+
# Some parameter documentations has been truncated, see
|
|
62
|
+
# {PostForMe::Models::LinkedinConfigurationDto::Media} for more details.
|
|
63
|
+
#
|
|
53
64
|
# @param url [String] Public URL of the media
|
|
54
65
|
#
|
|
66
|
+
# @param skip_processing [Boolean, nil] If true the media will not be processed at all and instead be posted as is, this
|
|
67
|
+
#
|
|
55
68
|
# @param tags [Array<PostForMe::Models::LinkedinConfigurationDto::Media::Tag>, nil] List of tags to attach to the media
|
|
56
69
|
#
|
|
57
70
|
# @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
|
|
@@ -45,6 +45,14 @@ module PostForMe
|
|
|
45
45
|
# @return [String]
|
|
46
46
|
required :url, String
|
|
47
47
|
|
|
48
|
+
# @!attribute skip_processing
|
|
49
|
+
# If true the media will not be processed at all and instead be posted as is, this
|
|
50
|
+
# may increase chance of post failure if media does not meet platform's
|
|
51
|
+
# requirements. Best used for larger files.
|
|
52
|
+
#
|
|
53
|
+
# @return [Boolean, nil]
|
|
54
|
+
optional :skip_processing, PostForMe::Internal::Type::Boolean, nil?: true
|
|
55
|
+
|
|
48
56
|
# @!attribute tags
|
|
49
57
|
# List of tags to attach to the media
|
|
50
58
|
#
|
|
@@ -65,9 +73,14 @@ module PostForMe
|
|
|
65
73
|
# @return [Object, nil]
|
|
66
74
|
optional :thumbnail_url, PostForMe::Internal::Type::Unknown, nil?: true
|
|
67
75
|
|
|
68
|
-
# @!method initialize(url:, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
76
|
+
# @!method initialize(url:, skip_processing: nil, tags: nil, thumbnail_timestamp_ms: nil, thumbnail_url: nil)
|
|
77
|
+
# Some parameter documentations has been truncated, see
|
|
78
|
+
# {PostForMe::Models::PinterestConfigurationDto::Media} for more details.
|
|
79
|
+
#
|
|
69
80
|
# @param url [String] Public URL of the media
|
|
70
81
|
#
|
|
82
|
+
# @param skip_processing [Boolean, nil] If true the media will not be processed at all and instead be posted as is, this
|
|
83
|
+
#
|
|
71
84
|
# @param tags [Array<PostForMe::Models::PinterestConfigurationDto::Media::Tag>, nil] List of tags to attach to the media
|
|
72
85
|
#
|
|
73
86
|
# @param thumbnail_timestamp_ms [Object, nil] Timestamp in milliseconds of frame to use as thumbnail for the media
|