freckle_io 0.1.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -5
- data/freckle-io.gemspec +3 -3
- data/lib/freckle_io/client/entries.rb +1 -26
- data/lib/freckle_io/client/project_groups.rb +0 -2
- data/lib/freckle_io/client/projects.rb +1 -13
- data/lib/freckle_io/client/tags.rb +1 -6
- data/lib/freckle_io/client/users.rb +1 -6
- data/lib/freckle_io/configuration.rb +5 -5
- data/lib/freckle_io/connection.rb +1 -3
- data/lib/freckle_io/params.rb +5 -10
- data/lib/freckle_io/request/multiple_pages.rb +3 -3
- data/lib/freckle_io/request/single_page.rb +2 -2
- data/lib/freckle_io/validator/base_contract.rb +16 -0
- data/lib/freckle_io/validator/entry.rb +26 -50
- data/lib/freckle_io/validator/project.rb +13 -39
- data/lib/freckle_io/validator/project_group.rb +5 -24
- data/lib/freckle_io/validator/tag.rb +5 -24
- data/lib/freckle_io/validator/user.rb +13 -37
- data/lib/freckle_io/validator/validation.yml +8 -13
- data/lib/freckle_io.rb +1 -1
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Entries/with_configuration/_all/result_must_be_a_Request_MultiplePages.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Entries/with_configuration/_all/returns_a_entry_for_each_response.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Entries/with_configuration/with_unknow_params/doesn_t_raise_a_invalid_params_error.yml +53 -0
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Entries/with_configuration/with_valid_params/params_should_be_valid.yml +22 -17
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Entries/with_configuration/with_validator/call_entry_s_validator.yml +24 -19
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_ProjectGroups/with_configuration/_all/result_must_be_a_Request_MultiplePages.yml +261 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_ProjectGroups/with_configuration/_all/returns_a_project_group_for_each_response.yml +262 -36
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_ProjectGroups/with_configuration/with_unknow_params/doesn_t_raises_a_invalid_params_error.yml +325 -0
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_ProjectGroups/with_configuration/with_valid_params/params_should_be_valid.yml +22 -17
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_ProjectGroups/with_configuration/with_validator/call_project_group_s_validator.yml +261 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Projects/with_configuration/_all/result_must_be_a_Request_MultiplePages.yml +501 -225
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Projects/with_configuration/_all/returns_a_project_for_each_response.yml +501 -225
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Projects/with_configuration/_show/get_a_spacific_project.yml +24 -19
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Projects/with_configuration/_show/raw_links_should_be_a_empty_array.yml +24 -19
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Projects/with_configuration/with_unknow_params/doesn_t_raises_a_invalid_params_error.yml +865 -0
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Projects/with_configuration/with_valid_params/params_should_be_valid.yml +22 -17
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Projects/with_configuration/with_validator/call_project_s_validator.yml +502 -226
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Tags/with_configuration/_all/result_must_be_a_Request_MultiplePages.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Tags/with_configuration/_all/returns_a_tag_for_each_response.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Tags/with_configuration/with_unknow_params/doesn_t_raise_a_invalid_params_error.yml +53 -0
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Tags/with_configuration/with_valid_params/params_should_be_valid.yml +22 -17
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Tags/with_configuration/with_validator/call_tag_s_validator.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Users/with_configuration/_all/result_must_be_a_Request_MultiplePages.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Users/with_configuration/_all/returns_a_user_for_each_response.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Users/with_configuration/with_unknow_params/doesn_t_raise_a_invalid_params_error.yml +109 -0
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Users/with_configuration/with_valid_params/params_should_be_valid.yml +22 -17
- data/spec/fixtures/vcr_cassettes/FreckleIO_Client_Users/with_configuration/with_validator/call_user_s_validator.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Connection/with_default_configuration/with_a_valid_response/must_be_a_json_format.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Connection/with_default_configuration/with_freckle_token_authentication/set_X-FreckleToken.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Connection/with_default_configuration/with_header/set_user_agent.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Connection/with_default_configuration/with_invalid_url/raises_a_resource_not_found_error_for_invalid_resource.yml +13 -16
- data/spec/fixtures/vcr_cassettes/FreckleIO_Connection/with_default_configuration/with_page_param/response_must_be_success.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Connection/with_default_configuration/with_per_page_param/response_must_have_per_page_elements.yml +24 -19
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_MultiplePages/with_configuration/_get/returns_an_array_of_faraday_response.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_MultiplePages/with_configuration/_get/returns_freckle_default_per_page_elements.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_MultiplePages/with_per_page/_get/return_per_page_number_elements.yml +74 -59
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_first/next_page_should_be_a_SinglePage.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_first/prev_page_should_be_nil.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_first/when_get_last_page_from_the_first_page/next_should_be_nil.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_get/returns_correct_raw_links_for_the_first_page.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_last/next_page_should_be_nil.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_last/returns_correct_raw_links_for_the_last_page.yml +45 -35
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_last/when_get_prev_page_from_the_last_page/prev_should_be_nil.yml +67 -52
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_next/previous_page_is_a_SinglePage.yml +67 -52
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_next/previous_page_should_be_not_nil.yml +67 -52
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_prev/next_page_is_a_SinglePage.yml +89 -69
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_prev/when_get_prev_page_from_the_first_page/prev_should_be_nil.yml +67 -52
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_total_page/with_first_page/returns_the_range_of_pages.yml +23 -18
- data/spec/fixtures/vcr_cassettes/FreckleIO_Request_SinglePage/with_configuration/_total_page/with_next_page/returns_an_empty_array.yml +45 -35
- data/spec/freckle_io/client/entries_spec.rb +23 -32
- data/spec/freckle_io/client/project_groups_spec.rb +11 -20
- data/spec/freckle_io/client/projects_spec.rb +15 -21
- data/spec/freckle_io/client/tags_spec.rb +10 -19
- data/spec/freckle_io/client/users_spec.rb +13 -21
- data/spec/freckle_io/configuration_spec.rb +7 -4
- data/spec/freckle_io/connection_spec.rb +1 -1
- data/spec/freckle_io/paginator_spec.rb +8 -8
- data/spec/freckle_io/params_spec.rb +1 -1
- data/spec/freckle_io/request/single_page_spec.rb +6 -6
- data/spec/spec_helper.rb +3 -3
- data/spec/support/anonymize/entries.rb +9 -8
- data/spec/support/anonymize/project_groups.rb +4 -3
- data/spec/support/anonymize/projects.rb +9 -8
- data/spec/support/anonymize/tags.rb +5 -4
- data/spec/support/anonymize/users.rb +13 -15
- data/spec/support/anonymize_interaction.rb +5 -5
- metadata +29 -24
- data/lib/freckle_io/validator/restricted_hash.rb +0 -11
@@ -16,33 +16,38 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
21
|
Server:
|
22
22
|
- nginx
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 19 Oct 2022 15:07:30 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
|
-
Content-Length:
|
28
|
-
- '6991'
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Status:
|
32
|
-
- 200 OK
|
33
|
-
Cache-Control:
|
34
|
-
- private, max-age=0, must-revalidate
|
35
27
|
X-Frame-Options:
|
36
28
|
- SAMEORIGIN
|
29
|
+
X-Xss-Protection:
|
30
|
+
- '0'
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Download-Options:
|
34
|
+
- noopen
|
35
|
+
X-Permitted-Cross-Domain-Policies:
|
36
|
+
- none
|
37
|
+
Referrer-Policy:
|
38
|
+
- strict-origin-when-cross-origin
|
39
|
+
Etag:
|
40
|
+
- W/"8a4dbbf1e2240a6320ee12a91c7c4694"
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
X-Request-Id:
|
44
|
+
- 93bfa3b9-d49a-4fd6-98ab-7b119a9cd1b8
|
37
45
|
X-Runtime:
|
38
|
-
- '
|
46
|
+
- '0.037920'
|
39
47
|
Vary:
|
40
48
|
- Origin
|
41
|
-
Strict-Transport-Security:
|
42
|
-
- max-age=31536000; includeSubdomains
|
43
49
|
body:
|
44
|
-
encoding:
|
45
|
-
string: '[{"id":0,"name":"name_0","billable":true,"formatted_name":"formatted_name_0","entries":
|
46
|
-
|
47
|
-
|
48
|
-
recorded_with: VCR 4.0.0
|
50
|
+
encoding: ASCII-8BIT
|
51
|
+
string: '[{"id":0,"name":"name_0","billable":true,"formatted_name":"formatted_name_0","entries":5326,"entries_url":"http://foo.com/0/entries","url":"http://foo.com/0","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":1,"name":"name_1","billable":true,"formatted_name":"formatted_name_1","entries":4003,"entries_url":"http://foo.com/1/entries","url":"http://foo.com/1","created_at":"2014-05-08T14:50:33Z","updated_at":"2022-10-19T06:36:25Z"},{"id":2,"name":"name_2","billable":true,"formatted_name":"formatted_name_2","entries":1,"entries_url":"http://foo.com/2/entries","url":"http://foo.com/2","created_at":"2021-11-29T21:57:39Z","updated_at":"2022-10-19T06:36:25Z"},{"id":3,"name":"name_3","billable":true,"formatted_name":"formatted_name_3","entries":7896,"entries_url":"http://foo.com/3/entries","url":"http://foo.com/3","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":4,"name":"name_4","billable":true,"formatted_name":"formatted_name_4","entries":30361,"entries_url":"http://foo.com/4/entries","url":"http://foo.com/4","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":5,"name":"name_5","billable":true,"formatted_name":"formatted_name_5","entries":189,"entries_url":"http://foo.com/5/entries","url":"http://foo.com/5","created_at":"2017-05-26T14:45:02Z","updated_at":"2022-10-19T06:36:25Z"},{"id":6,"name":"name_6","billable":true,"formatted_name":"formatted_name_6","entries":3255,"entries_url":"http://foo.com/6/entries","url":"http://foo.com/6","created_at":"2019-07-26T15:04:18Z","updated_at":"2022-10-19T06:36:25Z"},{"id":7,"name":"name_7","billable":true,"formatted_name":"formatted_name_7","entries":686,"entries_url":"http://foo.com/7/entries","url":"http://foo.com/7","created_at":"2016-09-27T08:28:52Z","updated_at":"2022-10-19T06:36:25Z"},{"id":8,"name":"name_8","billable":false,"formatted_name":"formatted_name_8","entries":423,"entries_url":"http://foo.com/8/entries","url":"http://foo.com/8","created_at":"2013-11-26T17:46:05Z","updated_at":"2022-10-19T06:36:25Z"},{"id":9,"name":"name_9","billable":true,"formatted_name":"formatted_name_9","entries":2480,"entries_url":"http://foo.com/9/entries","url":"http://foo.com/9","created_at":"2016-05-08T13:20:56Z","updated_at":"2022-10-19T06:36:25Z"},{"id":10,"name":"name_10","billable":true,"formatted_name":"formatted_name_10","entries":88,"entries_url":"http://foo.com/10/entries","url":"http://foo.com/10","created_at":"2021-10-08T15:17:08Z","updated_at":"2022-10-19T06:36:25Z"},{"id":11,"name":"name_11","billable":true,"formatted_name":"formatted_name_11","entries":9276,"entries_url":"http://foo.com/11/entries","url":"http://foo.com/11","created_at":"2015-08-14T10:16:07Z","updated_at":"2022-10-19T06:36:25Z"},{"id":12,"name":"name_12","billable":true,"formatted_name":"formatted_name_12","entries":51,"entries_url":"http://foo.com/12/entries","url":"http://foo.com/12","created_at":"2017-01-19T11:04:28Z","updated_at":"2022-10-19T06:36:25Z"},{"id":13,"name":"name_13","billable":false,"formatted_name":"formatted_name_13*","entries":5623,"entries_url":"http://foo.com/13/entries","url":"http://foo.com/13","created_at":"2013-11-22T09:48:00Z","updated_at":"2022-10-19T06:36:25Z"},{"id":14,"name":"name_14","billable":true,"formatted_name":"formatted_name_14","entries":2138,"entries_url":"http://foo.com/14/entries","url":"http://foo.com/14","created_at":"2015-05-13T22:35:33Z","updated_at":"2022-10-19T06:36:25Z"},{"id":15,"name":"name_15","billable":true,"formatted_name":"formatted_name_15","entries":2152,"entries_url":"http://foo.com/15/entries","url":"http://foo.com/15","created_at":"2015-02-26T20:30:21Z","updated_at":"2022-10-19T06:36:25Z"}]'
|
52
|
+
recorded_at: Wed, 19 Oct 2022 15:07:30 GMT
|
53
|
+
recorded_with: VCR 6.1.0
|
@@ -16,33 +16,38 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
21
|
Server:
|
22
22
|
- nginx
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 19 Oct 2022 15:07:31 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
|
-
Content-Length:
|
28
|
-
- '6991'
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Status:
|
32
|
-
- 200 OK
|
33
|
-
Cache-Control:
|
34
|
-
- private, max-age=0, must-revalidate
|
35
27
|
X-Frame-Options:
|
36
28
|
- SAMEORIGIN
|
29
|
+
X-Xss-Protection:
|
30
|
+
- '0'
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Download-Options:
|
34
|
+
- noopen
|
35
|
+
X-Permitted-Cross-Domain-Policies:
|
36
|
+
- none
|
37
|
+
Referrer-Policy:
|
38
|
+
- strict-origin-when-cross-origin
|
39
|
+
Etag:
|
40
|
+
- W/"8a4dbbf1e2240a6320ee12a91c7c4694"
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
X-Request-Id:
|
44
|
+
- 2f633c2b-3ee0-4eda-8f28-5b0d196faaf4
|
37
45
|
X-Runtime:
|
38
|
-
- '
|
46
|
+
- '0.038123'
|
39
47
|
Vary:
|
40
48
|
- Origin
|
41
|
-
Strict-Transport-Security:
|
42
|
-
- max-age=31536000; includeSubdomains
|
43
49
|
body:
|
44
|
-
encoding:
|
45
|
-
string: '[{"id":0,"name":"name_0","billable":true,"formatted_name":"formatted_name_0","entries":
|
46
|
-
|
47
|
-
|
48
|
-
recorded_with: VCR 4.0.0
|
50
|
+
encoding: ASCII-8BIT
|
51
|
+
string: '[{"id":0,"name":"name_0","billable":true,"formatted_name":"formatted_name_0","entries":5326,"entries_url":"http://foo.com/0/entries","url":"http://foo.com/0","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":1,"name":"name_1","billable":true,"formatted_name":"formatted_name_1","entries":4003,"entries_url":"http://foo.com/1/entries","url":"http://foo.com/1","created_at":"2014-05-08T14:50:33Z","updated_at":"2022-10-19T06:36:25Z"},{"id":2,"name":"name_2","billable":true,"formatted_name":"formatted_name_2","entries":1,"entries_url":"http://foo.com/2/entries","url":"http://foo.com/2","created_at":"2021-11-29T21:57:39Z","updated_at":"2022-10-19T06:36:25Z"},{"id":3,"name":"name_3","billable":true,"formatted_name":"formatted_name_3","entries":7896,"entries_url":"http://foo.com/3/entries","url":"http://foo.com/3","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":4,"name":"name_4","billable":true,"formatted_name":"formatted_name_4","entries":30361,"entries_url":"http://foo.com/4/entries","url":"http://foo.com/4","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":5,"name":"name_5","billable":true,"formatted_name":"formatted_name_5","entries":189,"entries_url":"http://foo.com/5/entries","url":"http://foo.com/5","created_at":"2017-05-26T14:45:02Z","updated_at":"2022-10-19T06:36:25Z"},{"id":6,"name":"name_6","billable":true,"formatted_name":"formatted_name_6","entries":3255,"entries_url":"http://foo.com/6/entries","url":"http://foo.com/6","created_at":"2019-07-26T15:04:18Z","updated_at":"2022-10-19T06:36:25Z"},{"id":7,"name":"name_7","billable":true,"formatted_name":"formatted_name_7","entries":686,"entries_url":"http://foo.com/7/entries","url":"http://foo.com/7","created_at":"2016-09-27T08:28:52Z","updated_at":"2022-10-19T06:36:25Z"},{"id":8,"name":"name_8","billable":false,"formatted_name":"formatted_name_8","entries":423,"entries_url":"http://foo.com/8/entries","url":"http://foo.com/8","created_at":"2013-11-26T17:46:05Z","updated_at":"2022-10-19T06:36:25Z"},{"id":9,"name":"name_9","billable":true,"formatted_name":"formatted_name_9","entries":2480,"entries_url":"http://foo.com/9/entries","url":"http://foo.com/9","created_at":"2016-05-08T13:20:56Z","updated_at":"2022-10-19T06:36:25Z"},{"id":10,"name":"name_10","billable":true,"formatted_name":"formatted_name_10","entries":88,"entries_url":"http://foo.com/10/entries","url":"http://foo.com/10","created_at":"2021-10-08T15:17:08Z","updated_at":"2022-10-19T06:36:25Z"},{"id":11,"name":"name_11","billable":true,"formatted_name":"formatted_name_11","entries":9276,"entries_url":"http://foo.com/11/entries","url":"http://foo.com/11","created_at":"2015-08-14T10:16:07Z","updated_at":"2022-10-19T06:36:25Z"},{"id":12,"name":"name_12","billable":true,"formatted_name":"formatted_name_12","entries":51,"entries_url":"http://foo.com/12/entries","url":"http://foo.com/12","created_at":"2017-01-19T11:04:28Z","updated_at":"2022-10-19T06:36:25Z"},{"id":13,"name":"name_13","billable":false,"formatted_name":"formatted_name_13*","entries":5623,"entries_url":"http://foo.com/13/entries","url":"http://foo.com/13","created_at":"2013-11-22T09:48:00Z","updated_at":"2022-10-19T06:36:25Z"},{"id":14,"name":"name_14","billable":true,"formatted_name":"formatted_name_14","entries":2138,"entries_url":"http://foo.com/14/entries","url":"http://foo.com/14","created_at":"2015-05-13T22:35:33Z","updated_at":"2022-10-19T06:36:25Z"},{"id":15,"name":"name_15","billable":true,"formatted_name":"formatted_name_15","entries":2152,"entries_url":"http://foo.com/15/entries","url":"http://foo.com/15","created_at":"2015-02-26T20:30:21Z","updated_at":"2022-10-19T06:36:25Z"}]'
|
52
|
+
recorded_at: Wed, 19 Oct 2022 15:07:31 GMT
|
53
|
+
recorded_with: VCR 6.1.0
|
@@ -0,0 +1,53 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.nokotime.com/v2/tags
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- MyFreckleBot/1.0
|
12
|
+
X-Freckletoken:
|
13
|
+
- "<TOKEN>"
|
14
|
+
Expect:
|
15
|
+
- ''
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: ''
|
20
|
+
headers:
|
21
|
+
Server:
|
22
|
+
- nginx
|
23
|
+
Date:
|
24
|
+
- Wed, 19 Oct 2022 15:07:32 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/json; charset=utf-8
|
27
|
+
X-Frame-Options:
|
28
|
+
- SAMEORIGIN
|
29
|
+
X-Xss-Protection:
|
30
|
+
- '0'
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Download-Options:
|
34
|
+
- noopen
|
35
|
+
X-Permitted-Cross-Domain-Policies:
|
36
|
+
- none
|
37
|
+
Referrer-Policy:
|
38
|
+
- strict-origin-when-cross-origin
|
39
|
+
Etag:
|
40
|
+
- W/"8a4dbbf1e2240a6320ee12a91c7c4694"
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
X-Request-Id:
|
44
|
+
- 29a3420f-69be-423b-9d50-d75dc7114a6c
|
45
|
+
X-Runtime:
|
46
|
+
- '0.128402'
|
47
|
+
Vary:
|
48
|
+
- Origin
|
49
|
+
body:
|
50
|
+
encoding: ASCII-8BIT
|
51
|
+
string: '[{"id":0,"name":"name_0","billable":true,"formatted_name":"formatted_name_0","entries":5326,"entries_url":"http://foo.com/0/entries","url":"http://foo.com/0","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":1,"name":"name_1","billable":true,"formatted_name":"formatted_name_1","entries":4003,"entries_url":"http://foo.com/1/entries","url":"http://foo.com/1","created_at":"2014-05-08T14:50:33Z","updated_at":"2022-10-19T06:36:25Z"},{"id":2,"name":"name_2","billable":true,"formatted_name":"formatted_name_2","entries":1,"entries_url":"http://foo.com/2/entries","url":"http://foo.com/2","created_at":"2021-11-29T21:57:39Z","updated_at":"2022-10-19T06:36:25Z"},{"id":3,"name":"name_3","billable":true,"formatted_name":"formatted_name_3","entries":7896,"entries_url":"http://foo.com/3/entries","url":"http://foo.com/3","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":4,"name":"name_4","billable":true,"formatted_name":"formatted_name_4","entries":30361,"entries_url":"http://foo.com/4/entries","url":"http://foo.com/4","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":5,"name":"name_5","billable":true,"formatted_name":"formatted_name_5","entries":189,"entries_url":"http://foo.com/5/entries","url":"http://foo.com/5","created_at":"2017-05-26T14:45:02Z","updated_at":"2022-10-19T06:36:25Z"},{"id":6,"name":"name_6","billable":true,"formatted_name":"formatted_name_6","entries":3255,"entries_url":"http://foo.com/6/entries","url":"http://foo.com/6","created_at":"2019-07-26T15:04:18Z","updated_at":"2022-10-19T06:36:25Z"},{"id":7,"name":"name_7","billable":true,"formatted_name":"formatted_name_7","entries":686,"entries_url":"http://foo.com/7/entries","url":"http://foo.com/7","created_at":"2016-09-27T08:28:52Z","updated_at":"2022-10-19T06:36:25Z"},{"id":8,"name":"name_8","billable":false,"formatted_name":"formatted_name_8","entries":423,"entries_url":"http://foo.com/8/entries","url":"http://foo.com/8","created_at":"2013-11-26T17:46:05Z","updated_at":"2022-10-19T06:36:25Z"},{"id":9,"name":"name_9","billable":true,"formatted_name":"formatted_name_9","entries":2480,"entries_url":"http://foo.com/9/entries","url":"http://foo.com/9","created_at":"2016-05-08T13:20:56Z","updated_at":"2022-10-19T06:36:25Z"},{"id":10,"name":"name_10","billable":true,"formatted_name":"formatted_name_10","entries":88,"entries_url":"http://foo.com/10/entries","url":"http://foo.com/10","created_at":"2021-10-08T15:17:08Z","updated_at":"2022-10-19T06:36:25Z"},{"id":11,"name":"name_11","billable":true,"formatted_name":"formatted_name_11","entries":9276,"entries_url":"http://foo.com/11/entries","url":"http://foo.com/11","created_at":"2015-08-14T10:16:07Z","updated_at":"2022-10-19T06:36:25Z"},{"id":12,"name":"name_12","billable":true,"formatted_name":"formatted_name_12","entries":51,"entries_url":"http://foo.com/12/entries","url":"http://foo.com/12","created_at":"2017-01-19T11:04:28Z","updated_at":"2022-10-19T06:36:25Z"},{"id":13,"name":"name_13","billable":false,"formatted_name":"formatted_name_13*","entries":5623,"entries_url":"http://foo.com/13/entries","url":"http://foo.com/13","created_at":"2013-11-22T09:48:00Z","updated_at":"2022-10-19T06:36:25Z"},{"id":14,"name":"name_14","billable":true,"formatted_name":"formatted_name_14","entries":2138,"entries_url":"http://foo.com/14/entries","url":"http://foo.com/14","created_at":"2015-05-13T22:35:33Z","updated_at":"2022-10-19T06:36:25Z"},{"id":15,"name":"name_15","billable":true,"formatted_name":"formatted_name_15","entries":2152,"entries_url":"http://foo.com/15/entries","url":"http://foo.com/15","created_at":"2015-02-26T20:30:21Z","updated_at":"2022-10-19T06:36:25Z"}]'
|
52
|
+
recorded_at: Wed, 19 Oct 2022 15:07:32 GMT
|
53
|
+
recorded_with: VCR 6.1.0
|
@@ -16,33 +16,38 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
21
|
Server:
|
22
22
|
- nginx
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 19 Oct 2022 15:07:31 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
|
-
Content-Length:
|
28
|
-
- '2'
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Status:
|
32
|
-
- 200 OK
|
33
|
-
Cache-Control:
|
34
|
-
- private, max-age=0, must-revalidate
|
35
27
|
X-Frame-Options:
|
36
28
|
- SAMEORIGIN
|
29
|
+
X-Xss-Protection:
|
30
|
+
- '0'
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Download-Options:
|
34
|
+
- noopen
|
35
|
+
X-Permitted-Cross-Domain-Policies:
|
36
|
+
- none
|
37
|
+
Referrer-Policy:
|
38
|
+
- strict-origin-when-cross-origin
|
39
|
+
Etag:
|
40
|
+
- W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
X-Request-Id:
|
44
|
+
- b0d6c1d2-29a6-44ef-9c47-d6da4cf19397
|
37
45
|
X-Runtime:
|
38
|
-
- '
|
46
|
+
- '0.040016'
|
39
47
|
Vary:
|
40
48
|
- Origin
|
41
|
-
Strict-Transport-Security:
|
42
|
-
- max-age=31536000; includeSubdomains
|
43
49
|
body:
|
44
|
-
encoding:
|
50
|
+
encoding: ASCII-8BIT
|
45
51
|
string: "[]"
|
46
|
-
|
47
|
-
|
48
|
-
recorded_with: VCR 4.0.0
|
52
|
+
recorded_at: Wed, 19 Oct 2022 15:07:31 GMT
|
53
|
+
recorded_with: VCR 6.1.0
|
@@ -16,33 +16,38 @@ http_interactions:
|
|
16
16
|
response:
|
17
17
|
status:
|
18
18
|
code: 200
|
19
|
-
message:
|
19
|
+
message: ''
|
20
20
|
headers:
|
21
21
|
Server:
|
22
22
|
- nginx
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Wed, 19 Oct 2022 15:07:32 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=utf-8
|
27
|
-
Content-Length:
|
28
|
-
- '6991'
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Status:
|
32
|
-
- 200 OK
|
33
|
-
Cache-Control:
|
34
|
-
- private, max-age=0, must-revalidate
|
35
27
|
X-Frame-Options:
|
36
28
|
- SAMEORIGIN
|
29
|
+
X-Xss-Protection:
|
30
|
+
- '0'
|
31
|
+
X-Content-Type-Options:
|
32
|
+
- nosniff
|
33
|
+
X-Download-Options:
|
34
|
+
- noopen
|
35
|
+
X-Permitted-Cross-Domain-Policies:
|
36
|
+
- none
|
37
|
+
Referrer-Policy:
|
38
|
+
- strict-origin-when-cross-origin
|
39
|
+
Etag:
|
40
|
+
- W/"8a4dbbf1e2240a6320ee12a91c7c4694"
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
X-Request-Id:
|
44
|
+
- 3b7d9ba9-e980-4be1-bcec-2b25560a8e9e
|
37
45
|
X-Runtime:
|
38
|
-
- '
|
46
|
+
- '0.043748'
|
39
47
|
Vary:
|
40
48
|
- Origin
|
41
|
-
Strict-Transport-Security:
|
42
|
-
- max-age=31536000; includeSubdomains
|
43
49
|
body:
|
44
|
-
encoding:
|
45
|
-
string: '[{"id":0,"name":"name_0","billable":true,"formatted_name":"formatted_name_0","entries":
|
46
|
-
|
47
|
-
|
48
|
-
recorded_with: VCR 4.0.0
|
50
|
+
encoding: ASCII-8BIT
|
51
|
+
string: '[{"id":0,"name":"name_0","billable":true,"formatted_name":"formatted_name_0","entries":5326,"entries_url":"http://foo.com/0/entries","url":"http://foo.com/0","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":1,"name":"name_1","billable":true,"formatted_name":"formatted_name_1","entries":4003,"entries_url":"http://foo.com/1/entries","url":"http://foo.com/1","created_at":"2014-05-08T14:50:33Z","updated_at":"2022-10-19T06:36:25Z"},{"id":2,"name":"name_2","billable":true,"formatted_name":"formatted_name_2","entries":1,"entries_url":"http://foo.com/2/entries","url":"http://foo.com/2","created_at":"2021-11-29T21:57:39Z","updated_at":"2022-10-19T06:36:25Z"},{"id":3,"name":"name_3","billable":true,"formatted_name":"formatted_name_3","entries":7896,"entries_url":"http://foo.com/3/entries","url":"http://foo.com/3","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":4,"name":"name_4","billable":true,"formatted_name":"formatted_name_4","entries":30361,"entries_url":"http://foo.com/4/entries","url":"http://foo.com/4","created_at":"2013-11-22T09:47:59Z","updated_at":"2022-10-19T06:36:25Z"},{"id":5,"name":"name_5","billable":true,"formatted_name":"formatted_name_5","entries":189,"entries_url":"http://foo.com/5/entries","url":"http://foo.com/5","created_at":"2017-05-26T14:45:02Z","updated_at":"2022-10-19T06:36:25Z"},{"id":6,"name":"name_6","billable":true,"formatted_name":"formatted_name_6","entries":3255,"entries_url":"http://foo.com/6/entries","url":"http://foo.com/6","created_at":"2019-07-26T15:04:18Z","updated_at":"2022-10-19T06:36:25Z"},{"id":7,"name":"name_7","billable":true,"formatted_name":"formatted_name_7","entries":686,"entries_url":"http://foo.com/7/entries","url":"http://foo.com/7","created_at":"2016-09-27T08:28:52Z","updated_at":"2022-10-19T06:36:25Z"},{"id":8,"name":"name_8","billable":false,"formatted_name":"formatted_name_8","entries":423,"entries_url":"http://foo.com/8/entries","url":"http://foo.com/8","created_at":"2013-11-26T17:46:05Z","updated_at":"2022-10-19T06:36:25Z"},{"id":9,"name":"name_9","billable":true,"formatted_name":"formatted_name_9","entries":2480,"entries_url":"http://foo.com/9/entries","url":"http://foo.com/9","created_at":"2016-05-08T13:20:56Z","updated_at":"2022-10-19T06:36:25Z"},{"id":10,"name":"name_10","billable":true,"formatted_name":"formatted_name_10","entries":88,"entries_url":"http://foo.com/10/entries","url":"http://foo.com/10","created_at":"2021-10-08T15:17:08Z","updated_at":"2022-10-19T06:36:25Z"},{"id":11,"name":"name_11","billable":true,"formatted_name":"formatted_name_11","entries":9276,"entries_url":"http://foo.com/11/entries","url":"http://foo.com/11","created_at":"2015-08-14T10:16:07Z","updated_at":"2022-10-19T06:36:25Z"},{"id":12,"name":"name_12","billable":true,"formatted_name":"formatted_name_12","entries":51,"entries_url":"http://foo.com/12/entries","url":"http://foo.com/12","created_at":"2017-01-19T11:04:28Z","updated_at":"2022-10-19T06:36:25Z"},{"id":13,"name":"name_13","billable":false,"formatted_name":"formatted_name_13*","entries":5623,"entries_url":"http://foo.com/13/entries","url":"http://foo.com/13","created_at":"2013-11-22T09:48:00Z","updated_at":"2022-10-19T06:36:25Z"},{"id":14,"name":"name_14","billable":true,"formatted_name":"formatted_name_14","entries":2138,"entries_url":"http://foo.com/14/entries","url":"http://foo.com/14","created_at":"2015-05-13T22:35:33Z","updated_at":"2022-10-19T06:36:25Z"},{"id":15,"name":"name_15","billable":true,"formatted_name":"formatted_name_15","entries":2152,"entries_url":"http://foo.com/15/entries","url":"http://foo.com/15","created_at":"2015-02-26T20:30:21Z","updated_at":"2022-10-19T06:36:25Z"}]'
|
52
|
+
recorded_at: Wed, 19 Oct 2022 15:07:32 GMT
|
53
|
+
recorded_with: VCR 6.1.0
|