late-sdk 0.0.52 → 0.0.53
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/README.md +32 -0
- data/docs/AnalyticsListResponsePostsInner.md +1 -1
- data/docs/AnalyticsSinglePostResponse.md +7 -1
- data/docs/AnalyticsSinglePostResponseMediaItemsInner.md +22 -0
- data/docs/BookmarkPost200Response.md +24 -0
- data/docs/BookmarkPostRequest.md +20 -0
- data/docs/CommentsApi.md +2 -2
- data/docs/FollowUser200Response.md +26 -0
- data/docs/FollowUserRequest.md +20 -0
- data/docs/GMBLocationDetailsApi.md +4 -4
- data/docs/GbpFreeFormServiceItemLabel.md +20 -0
- data/docs/GbpUpdateFreeFormServiceItemLabel.md +20 -0
- data/docs/GetGoogleBusinessLocationDetails200Response.md +5 -1
- data/docs/GetGoogleBusinessLocationDetails200ResponseCategories.md +20 -0
- data/docs/GetGoogleBusinessLocationDetails200ResponseCategoriesAdditionalCategoriesInner.md +20 -0
- data/docs/GetGoogleBusinessLocationDetails200ResponseCategoriesPrimaryCategory.md +20 -0
- data/docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInner.md +22 -0
- data/docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerFreeFormServiceItem.md +20 -0
- data/docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerPrice.md +22 -0
- data/docs/GetGoogleBusinessLocationDetails200ResponseServiceItemsInnerStructuredServiceItem.md +20 -0
- data/docs/RemoveBookmark200Response.md +24 -0
- data/docs/RetweetPost200Response.md +24 -0
- data/docs/RetweetPostRequest.md +20 -0
- data/docs/TwitterEngagementApi.md +433 -0
- data/docs/UndoRetweet200Response.md +24 -0
- data/docs/UnfollowUser200Response.md +24 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequest.md +6 -2
- data/docs/UpdateGoogleBusinessLocationDetailsRequestCategories.md +20 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestCategoriesAdditionalCategoriesInner.md +18 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestCategoriesPrimaryCategory.md +18 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInner.md +22 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerFreeFormServiceItem.md +20 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerPrice.md +22 -0
- data/docs/UpdateGoogleBusinessLocationDetailsRequestServiceItemsInnerStructuredServiceItem.md +20 -0
- data/lib/late-sdk/api/comments_api.rb +4 -4
- data/lib/late-sdk/api/gmb_location_details_api.rb +6 -6
- data/lib/late-sdk/api/twitter_engagement_api.rb +439 -0
- data/lib/late-sdk/models/analytics_list_response_posts_inner.rb +4 -3
- data/lib/late-sdk/models/analytics_single_post_response.rb +68 -4
- data/lib/late-sdk/models/analytics_single_post_response_media_items_inner.rb +201 -0
- data/lib/late-sdk/models/bookmark_post200_response.rb +174 -0
- data/lib/late-sdk/models/bookmark_post_request.rb +192 -0
- data/lib/late-sdk/models/follow_user200_response.rb +184 -0
- data/lib/late-sdk/models/follow_user_request.rb +192 -0
- data/lib/late-sdk/models/gbp_free_form_service_item_label.rb +156 -0
- data/lib/late-sdk/models/gbp_update_free_form_service_item_label.rb +158 -0
- data/lib/late-sdk/models/get_google_business_location_details200_response.rb +25 -4
- data/lib/late-sdk/models/get_google_business_location_details200_response_categories.rb +159 -0
- data/lib/late-sdk/models/get_google_business_location_details200_response_categories_additional_categories_inner.rb +156 -0
- data/lib/late-sdk/models/get_google_business_location_details200_response_categories_primary_category.rb +158 -0
- data/lib/late-sdk/models/get_google_business_location_details200_response_service_items_inner.rb +165 -0
- data/lib/late-sdk/models/get_google_business_location_details200_response_service_items_inner_free_form_service_item.rb +156 -0
- data/lib/late-sdk/models/get_google_business_location_details200_response_service_items_inner_price.rb +165 -0
- data/lib/late-sdk/models/get_google_business_location_details200_response_service_items_inner_structured_service_item.rb +156 -0
- data/lib/late-sdk/models/remove_bookmark200_response.rb +174 -0
- data/lib/late-sdk/models/retweet_post200_response.rb +174 -0
- data/lib/late-sdk/models/retweet_post_request.rb +192 -0
- data/lib/late-sdk/models/undo_retweet200_response.rb +174 -0
- data/lib/late-sdk/models/unfollow_user200_response.rb +174 -0
- data/lib/late-sdk/models/update_google_business_location_details_request.rb +26 -5
- data/lib/late-sdk/models/update_google_business_location_details_request_categories.rb +159 -0
- data/lib/late-sdk/models/update_google_business_location_details_request_categories_additional_categories_inner.rb +148 -0
- data/lib/late-sdk/models/update_google_business_location_details_request_categories_primary_category.rb +148 -0
- data/lib/late-sdk/models/update_google_business_location_details_request_service_items_inner.rb +165 -0
- data/lib/late-sdk/models/update_google_business_location_details_request_service_items_inner_free_form_service_item.rb +158 -0
- data/lib/late-sdk/models/update_google_business_location_details_request_service_items_inner_price.rb +169 -0
- data/lib/late-sdk/models/update_google_business_location_details_request_service_items_inner_structured_service_item.rb +159 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +27 -0
- data/openapi.yaml +406 -29
- data/spec/api/comments_api_spec.rb +2 -2
- data/spec/api/gmb_location_details_api_spec.rb +3 -3
- data/spec/api/twitter_engagement_api_spec.rb +110 -0
- data/spec/models/analytics_list_response_posts_inner_spec.rb +1 -1
- data/spec/models/analytics_single_post_response_media_items_inner_spec.rb +52 -0
- data/spec/models/analytics_single_post_response_spec.rb +22 -0
- data/spec/models/bookmark_post200_response_spec.rb +54 -0
- data/spec/models/bookmark_post_request_spec.rb +42 -0
- data/spec/models/follow_user200_response_spec.rb +60 -0
- data/spec/models/follow_user_request_spec.rb +42 -0
- data/spec/models/gbp_free_form_service_item_label_spec.rb +42 -0
- data/spec/models/gbp_update_free_form_service_item_label_spec.rb +42 -0
- data/spec/models/get_google_business_location_details200_response_categories_additional_categories_inner_spec.rb +42 -0
- data/spec/models/get_google_business_location_details200_response_categories_primary_category_spec.rb +42 -0
- data/spec/models/get_google_business_location_details200_response_categories_spec.rb +42 -0
- data/spec/models/get_google_business_location_details200_response_service_items_inner_free_form_service_item_spec.rb +42 -0
- data/spec/models/get_google_business_location_details200_response_service_items_inner_price_spec.rb +48 -0
- data/spec/models/get_google_business_location_details200_response_service_items_inner_spec.rb +48 -0
- data/spec/models/get_google_business_location_details200_response_service_items_inner_structured_service_item_spec.rb +42 -0
- data/spec/models/get_google_business_location_details200_response_spec.rb +12 -0
- data/spec/models/remove_bookmark200_response_spec.rb +54 -0
- data/spec/models/retweet_post200_response_spec.rb +54 -0
- data/spec/models/retweet_post_request_spec.rb +42 -0
- data/spec/models/undo_retweet200_response_spec.rb +54 -0
- data/spec/models/unfollow_user200_response_spec.rb +54 -0
- data/spec/models/update_google_business_location_details_request_categories_additional_categories_inner_spec.rb +36 -0
- data/spec/models/update_google_business_location_details_request_categories_primary_category_spec.rb +36 -0
- data/spec/models/update_google_business_location_details_request_categories_spec.rb +42 -0
- data/spec/models/update_google_business_location_details_request_service_items_inner_free_form_service_item_spec.rb +42 -0
- data/spec/models/update_google_business_location_details_request_service_items_inner_price_spec.rb +48 -0
- data/spec/models/update_google_business_location_details_request_service_items_inner_spec.rb +48 -0
- data/spec/models/update_google_business_location_details_request_service_items_inner_structured_service_item_spec.rb +42 -0
- data/spec/models/update_google_business_location_details_request_spec.rb +12 -0
- metadata +110 -2
|
@@ -34,11 +34,11 @@ describe 'GMBLocationDetailsApi' do
|
|
|
34
34
|
|
|
35
35
|
# unit tests for get_google_business_location_details
|
|
36
36
|
# Get location details
|
|
37
|
-
# Returns detailed GBP location info (hours, description, phone, website, categories). Use readMask to request specific fields.
|
|
37
|
+
# Returns detailed GBP location info (hours, description, phone, website, categories, services). Use readMask to request specific fields.
|
|
38
38
|
# @param account_id The Late account ID (from /v1/accounts)
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
40
|
# @option opts [String] :location_id Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
|
|
41
|
-
# @option opts [String] :read_mask Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
|
|
41
|
+
# @option opts [String] :read_mask Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, serviceItems, profile, openInfo, metadata, moreHours.
|
|
42
42
|
# @return [GetGoogleBusinessLocationDetails200Response]
|
|
43
43
|
describe 'get_google_business_location_details test' do
|
|
44
44
|
it 'should work' do
|
|
@@ -48,7 +48,7 @@ describe 'GMBLocationDetailsApi' do
|
|
|
48
48
|
|
|
49
49
|
# unit tests for update_google_business_location_details
|
|
50
50
|
# Update location details
|
|
51
|
-
# Updates GBP location details
|
|
51
|
+
# Updates GBP location details. The updateMask field is required and specifies which fields to update. This endpoint proxies Google's Business Information API locations.patch, so any valid updateMask field is supported. Common fields: regularHours, specialHours, profile.description, websiteUri, phoneNumbers, categories, serviceItems.
|
|
52
52
|
# @param account_id The Late account ID (from /v1/accounts)
|
|
53
53
|
# @param update_google_business_location_details_request
|
|
54
54
|
# @param [Hash] opts the optional parameters
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for Late::TwitterEngagementApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TwitterEngagementApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = Late::TwitterEngagementApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TwitterEngagementApi' do
|
|
30
|
+
it 'should create an instance of TwitterEngagementApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(Late::TwitterEngagementApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for bookmark_post
|
|
36
|
+
# Bookmark a tweet
|
|
37
|
+
# Bookmark a tweet by ID. Requires X API Basic tier ($200/mo) or higher. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
|
|
38
|
+
# @param bookmark_post_request
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [BookmarkPost200Response]
|
|
41
|
+
describe 'bookmark_post test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for follow_user
|
|
48
|
+
# Follow a user
|
|
49
|
+
# Follow a user on X/Twitter. Requires X API Basic tier ($200/mo) or higher. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).
|
|
50
|
+
# @param follow_user_request
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @return [FollowUser200Response]
|
|
53
|
+
describe 'follow_user test' do
|
|
54
|
+
it 'should work' do
|
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# unit tests for remove_bookmark
|
|
60
|
+
# Remove bookmark
|
|
61
|
+
# Remove a bookmark from a tweet.
|
|
62
|
+
# @param account_id
|
|
63
|
+
# @param tweet_id The ID of the tweet to unbookmark
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @return [RemoveBookmark200Response]
|
|
66
|
+
describe 'remove_bookmark test' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# unit tests for retweet_post
|
|
73
|
+
# Retweet a post
|
|
74
|
+
# Retweet (repost) a tweet by ID. Requires X API Basic tier ($200/mo) or higher. Rate limit: 50 requests per 15-min window. Shares the 300/3hr creation limit with tweet creation.
|
|
75
|
+
# @param retweet_post_request
|
|
76
|
+
# @param [Hash] opts the optional parameters
|
|
77
|
+
# @return [RetweetPost200Response]
|
|
78
|
+
describe 'retweet_post test' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# unit tests for undo_retweet
|
|
85
|
+
# Undo retweet
|
|
86
|
+
# Undo a retweet (un-repost a tweet).
|
|
87
|
+
# @param account_id
|
|
88
|
+
# @param tweet_id The ID of the original tweet to un-retweet
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [UndoRetweet200Response]
|
|
91
|
+
describe 'undo_retweet test' do
|
|
92
|
+
it 'should work' do
|
|
93
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
# unit tests for unfollow_user
|
|
98
|
+
# Unfollow a user
|
|
99
|
+
# Unfollow a user on X/Twitter.
|
|
100
|
+
# @param account_id
|
|
101
|
+
# @param target_user_id The Twitter ID of the user to unfollow
|
|
102
|
+
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @return [UnfollowUser200Response]
|
|
104
|
+
describe 'unfollow_user test' do
|
|
105
|
+
it 'should work' do
|
|
106
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
end
|
|
@@ -96,7 +96,7 @@ describe Late::AnalyticsListResponsePostsInner do
|
|
|
96
96
|
describe 'test attribute "media_type"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["image", "video", "gif", "document"])
|
|
99
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["image", "video", "gif", "document", "carousel", "text"])
|
|
100
100
|
# validator.allowable_values.each do |value|
|
|
101
101
|
# expect { instance.media_type = value }.not_to raise_error
|
|
102
102
|
# end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::AnalyticsSinglePostResponseMediaItemsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::AnalyticsSinglePostResponseMediaItemsInner do
|
|
21
|
+
#let(:instance) { Late::AnalyticsSinglePostResponseMediaItemsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AnalyticsSinglePostResponseMediaItemsInner' do
|
|
24
|
+
it 'should create an instance of AnalyticsSinglePostResponseMediaItemsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::AnalyticsSinglePostResponseMediaItemsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["image", "video"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "url"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "thumbnail"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -87,4 +87,26 @@ describe Late::AnalyticsSinglePostResponse do
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
describe 'test attribute "thumbnail_url"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
describe 'test attribute "media_type"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["image", "video", "carousel", "text"])
|
|
100
|
+
# validator.allowable_values.each do |value|
|
|
101
|
+
# expect { instance.media_type = value }.not_to raise_error
|
|
102
|
+
# end
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
describe 'test attribute "media_items"' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
90
112
|
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::BookmarkPost200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::BookmarkPost200Response do
|
|
21
|
+
#let(:instance) { Late::BookmarkPost200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of BookmarkPost200Response' do
|
|
24
|
+
it 'should create an instance of BookmarkPost200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::BookmarkPost200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "status"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "tweet_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "bookmarked"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "platform"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::BookmarkPostRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::BookmarkPostRequest do
|
|
21
|
+
#let(:instance) { Late::BookmarkPostRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of BookmarkPostRequest' do
|
|
24
|
+
it 'should create an instance of BookmarkPostRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::BookmarkPostRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "account_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "tweet_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::FollowUser200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::FollowUser200Response do
|
|
21
|
+
#let(:instance) { Late::FollowUser200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FollowUser200Response' do
|
|
24
|
+
it 'should create an instance of FollowUser200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::FollowUser200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "status"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "target_user_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "following"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "pending_follow"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "platform"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::FollowUserRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::FollowUserRequest do
|
|
21
|
+
#let(:instance) { Late::FollowUserRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of FollowUserRequest' do
|
|
24
|
+
it 'should create an instance of FollowUserRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::FollowUserRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "account_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "target_user_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::GbpFreeFormServiceItemLabel
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GbpFreeFormServiceItemLabel do
|
|
21
|
+
#let(:instance) { Late::GbpFreeFormServiceItemLabel.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GbpFreeFormServiceItemLabel' do
|
|
24
|
+
it 'should create an instance of GbpFreeFormServiceItemLabel' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GbpFreeFormServiceItemLabel)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "display_name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "language_code"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::GbpUpdateFreeFormServiceItemLabel
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GbpUpdateFreeFormServiceItemLabel do
|
|
21
|
+
#let(:instance) { Late::GbpUpdateFreeFormServiceItemLabel.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GbpUpdateFreeFormServiceItemLabel' do
|
|
24
|
+
it 'should create an instance of GbpUpdateFreeFormServiceItemLabel' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GbpUpdateFreeFormServiceItemLabel)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "display_name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "language_code"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::GetGoogleBusinessLocationDetails200ResponseCategoriesAdditionalCategoriesInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetGoogleBusinessLocationDetails200ResponseCategoriesAdditionalCategoriesInner do
|
|
21
|
+
#let(:instance) { Late::GetGoogleBusinessLocationDetails200ResponseCategoriesAdditionalCategoriesInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetGoogleBusinessLocationDetails200ResponseCategoriesAdditionalCategoriesInner' do
|
|
24
|
+
it 'should create an instance of GetGoogleBusinessLocationDetails200ResponseCategoriesAdditionalCategoriesInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetGoogleBusinessLocationDetails200ResponseCategoriesAdditionalCategoriesInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "display_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::GetGoogleBusinessLocationDetails200ResponseCategoriesPrimaryCategory
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetGoogleBusinessLocationDetails200ResponseCategoriesPrimaryCategory do
|
|
21
|
+
#let(:instance) { Late::GetGoogleBusinessLocationDetails200ResponseCategoriesPrimaryCategory.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetGoogleBusinessLocationDetails200ResponseCategoriesPrimaryCategory' do
|
|
24
|
+
it 'should create an instance of GetGoogleBusinessLocationDetails200ResponseCategoriesPrimaryCategory' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetGoogleBusinessLocationDetails200ResponseCategoriesPrimaryCategory)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "display_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::GetGoogleBusinessLocationDetails200ResponseCategories
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetGoogleBusinessLocationDetails200ResponseCategories do
|
|
21
|
+
#let(:instance) { Late::GetGoogleBusinessLocationDetails200ResponseCategories.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetGoogleBusinessLocationDetails200ResponseCategories' do
|
|
24
|
+
it 'should create an instance of GetGoogleBusinessLocationDetails200ResponseCategories' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetGoogleBusinessLocationDetails200ResponseCategories)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "primary_category"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "additional_categories"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|