trav3 0.2.3 → 0.2.4

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: c296d42d106927366d13fb6e1f35fc684a70c7dc75f1d9f9c0e78d2eb0cfa892
4
- data.tar.gz: 6a11b0d89c2d16e6ff7d7b20717f08e3c1f06133d5b8018a06bc81acf50e951c
3
+ metadata.gz: 93d77ee47c7ed5e7c1f75e2acd89a0e54fb535a43f3d733e34846dc978221215
4
+ data.tar.gz: c4dd8fbb0fbdc9f49da8813658034fd4d267e2fed16fabc74bcf545b348df6dd
5
5
  SHA512:
6
- metadata.gz: 9bbcb15fa5788684920be24d4fb0daf526ca79e4b44bb5401d36c622622fc9a89c544b6f6cd45c8d68dbda53641d0edbf3996f76eaf489c9727194c29499af90
7
- data.tar.gz: 28eabbd1ef143bde815187a83d4aed45a419aae6d87a66c729bfe7e907a915ce657dfccc72764959d6c8e4d60ad5306d4c6d75cf4ac12b2f3ba6c4574d0dc629
6
+ metadata.gz: ecd602f45589d107c1c8b34389edb61b2b5b6b10e1849cc7fd867bd877e31ae2fe2dae5973e487c0e2b69814c9150d3030adcf3bd7c8b74220143b87cec22f9b
7
+ data.tar.gz: ff47d0c65e5b74e3992132b686d04eb539d384127485228533413992ac83214acad961dec1aba6000921d143360b6ac5b7fcea4cc5712ef40035e65cd3cf16e1
data/.rubocop.yml CHANGED
@@ -2623,7 +2623,7 @@ Style/ExpandPathArguments:
2623
2623
  Enabled: true
2624
2624
  VersionAdded: '0.53'
2625
2625
 
2626
- Style/FlipFlop:
2626
+ Lint/FlipFlop:
2627
2627
  Description: 'Checks for flip-flops'
2628
2628
  StyleGuide: '#no-flip-flops'
2629
2629
  Enabled: true
@@ -3790,12 +3790,12 @@ Style/YodaCondition:
3790
3790
  Description: 'Do not use literals as the first operand of a comparison.'
3791
3791
  Reference: 'https://en.wikipedia.org/wiki/Yoda_conditions'
3792
3792
  Enabled: true
3793
- EnforcedStyle: all_comparison_operators
3793
+ EnforcedStyle: forbid_for_all_comparison_operators
3794
3794
  SupportedStyles:
3795
- # check all comparison operators
3796
- - all_comparison_operators
3797
- # check only equality operators: `!=` and `==`
3798
- - equality_operators_only
3795
+ - forbid_for_all_comparison_operators
3796
+ - forbid_for_equality_operators_only
3797
+ - require_for_all_comparison_operators
3798
+ - require_for_equality_operators_only
3799
3799
  VersionAdded: '0.49'
3800
3800
  VersionChanged: '0.50'
3801
3801
 
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ gemspec
10
10
  group :test do
11
11
  gem 'byebug'
12
12
  gem 'codeclimate-test-reporter', '~> 1.0.0'
13
- gem 'rubocop', require: false
13
+ gem 'rubocop', '0.63.0', require: false
14
14
  gem 'simplecov', require: false
15
15
  gem 'vcr', '~> 4.0'
16
16
  gem 'webmock', '~> 3.5'
@@ -24,7 +24,7 @@ module Trav3
24
24
  end
25
25
 
26
26
  def get(url)
27
- Trav3::GET.call(travis, url)
27
+ Trav3::REST.get(travis, url)
28
28
  end
29
29
  private :get
30
30
 
@@ -5,8 +5,8 @@ require 'net/http'
5
5
  require 'uri'
6
6
 
7
7
  module Trav3
8
- module DELETE
9
- def self.call(travis, url)
8
+ module REST
9
+ def self.delete(travis, url)
10
10
  uri = URI( url.sub(/\?.*$/, '') )
11
11
  req = Net::HTTP::Delete.new(uri.request_uri)
12
12
  travis.headers.each_pair do |header, value|
@@ -5,8 +5,8 @@ require 'net/http'
5
5
  require 'uri'
6
6
 
7
7
  module Trav3
8
- module GET
9
- def self.call(travis, url, raw_reply = false)
8
+ module REST
9
+ def self.get(travis, url, raw_reply = false)
10
10
  uri = URI(url)
11
11
  req = Net::HTTP::Get.new(uri.request_uri)
12
12
  travis.headers.each_pair do |header, value|
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ # rubocop:disable Metrics/MethodLength
4
+ require 'net/http'
5
+ require 'uri'
6
+ require 'json'
7
+
8
+ module Trav3
9
+ module REST
10
+ def self.patch(travis, url, data = {})
11
+ uri = URI( url.sub(/\?.*$/, '') )
12
+ req = Net::HTTP::Patch.new(uri.request_uri)
13
+ travis.headers.each_pair do |header, value|
14
+ req[header] = value
15
+ end
16
+ req.body = JSON.generate(data) unless data.empty?
17
+ http = Net::HTTP.new(uri.host, uri.port)
18
+ http.use_ssl = (uri.scheme == 'https')
19
+ response = http.request(req)
20
+
21
+ if [Net::HTTPAccepted, Net::HTTPOK].include? response.code_type
22
+ Success.new(travis, response)
23
+ else
24
+ RequestError.new(travis, response)
25
+ end
26
+ end
27
+ end
28
+ end
29
+ # rubocop:enable Metrics/MethodLength
@@ -5,8 +5,8 @@ require 'net/http'
5
5
  require 'uri'
6
6
 
7
7
  module Trav3
8
- module POST
9
- def self.call(travis, url, **fields)
8
+ module REST
9
+ def self.post(travis, url, **fields)
10
10
  uri = URI( url.sub(/\?.*$/, '') )
11
11
  req = Net::HTTP::Post.new(uri.request_uri)
12
12
  travis.headers.each_pair do |header, value|
data/lib/trav3/rest.rb ADDED
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'rest/delete'
4
+ require_relative 'rest/get'
5
+ require_relative 'rest/patch'
6
+ require_relative 'rest/post'
data/lib/trav3/result.rb CHANGED
@@ -37,7 +37,11 @@ module Trav3
37
37
  def initialize(travis, response)
38
38
  @travis = travis
39
39
  @response = response
40
- @json = JSON.parse(response.body)
40
+ @json = begin
41
+ JSON.parse(response.body)
42
+ rescue JSON::ParserError
43
+ response.error!
44
+ end
41
45
  end
42
46
 
43
47
  def inspect
data/lib/trav3/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Trav3
4
- VERSION = '0.2.3'
4
+ VERSION = '0.2.4'
5
5
  end
data/lib/trav3.rb CHANGED
@@ -6,9 +6,7 @@ require 'trav3/pagination'
6
6
  require 'trav3/options'
7
7
  require 'trav3/headers'
8
8
  require 'trav3/result'
9
- require 'trav3/delete'
10
- require 'trav3/post'
11
- require 'trav3/get'
9
+ require 'trav3/rest'
12
10
 
13
11
  # Trav3 project namespace
14
12
  module Trav3
@@ -79,6 +77,67 @@ module Trav3
79
77
  self
80
78
  end
81
79
 
80
+ # Please Note that the naming of this endpoint may be changed. Our naming convention for this information is in flux. If you have suggestions for how this information should be presented please leave us feedback by commenting in this issue here or emailing support support@travis-ci.com.
81
+ #
82
+ # A list of all the builds in an "active" state, either created or started.
83
+ #
84
+ # ## Attributes
85
+ #
86
+ # Name Type Description
87
+ # builds Builds The active builds.
88
+ #
89
+ # ## Actions
90
+ #
91
+ # **For Owner**
92
+ #
93
+ # Returns a list of "active" builds for the owner.
94
+ #
95
+ # GET <code>/owner/{owner.login}/active</code>
96
+ #
97
+ # Template Variable Type Description
98
+ # owner.login String User or organization login set on GitHub.
99
+ # Query Parameter Type Description
100
+ # include [String] List of attributes to eager load.
101
+ #
102
+ # Example: GET /owner/danielpclark/active
103
+ #
104
+ # GET <code>/owner/{user.login}/active</code>
105
+ #
106
+ # Template Variable Type Description
107
+ # user.login String Login set on Github.
108
+ # Query Parameter Type Description
109
+ # include [String] List of attributes to eager load.
110
+ #
111
+ # Example: GET /owner/danielpclark/active
112
+ #
113
+ # GET <code>/owner/{organization.login}/active</code>
114
+ #
115
+ # Template Variable Type Description
116
+ # organization.login String Login set on GitHub.
117
+ # Query Parameter Type Description
118
+ # include [String] List of attributes to eager load.
119
+ #
120
+ # Example: GET /owner/travis-ci/active
121
+ #
122
+ # GET <code>/owner/github_id/{owner.github_id}/active</code>
123
+ #
124
+ # Template Variable Type Description
125
+ # owner.github_id Integer User or organization id set on GitHub.
126
+ # Query Parameter Type Description
127
+ # include [String] List of attributes to eager load.
128
+ #
129
+ # Example: GET /owner/github_id/639823/active
130
+ #
131
+ # @param owner [String] username, organization name, or github id
132
+ # @return [Success, RequestError]
133
+ def active(owner = username)
134
+ if number? owner
135
+ get("#{without_repo}/owner/github_id/#{owner}/active")
136
+ else
137
+ get("#{without_repo}/owner/#{owner}/active")
138
+ end
139
+ end
140
+
82
141
  # The branch of a GitHub repository. Useful for obtaining information about the last build on a given branch.
83
142
  #
84
143
  # **If querying using the repository slug, it must be formatted using {http://www.w3schools.com/tags/ref_urlencode.asp standard URL encoding}, including any special characters.**
@@ -122,7 +181,7 @@ module Trav3
122
181
  # Query Parameter Type Description
123
182
  # include [String] List of attributes to eager load.
124
183
  #
125
- # Example:GET /repo/891/branch/master
184
+ # Example: GET /repo/891/branch/master
126
185
  #
127
186
  # GET <code>/repo/{repository.slug}/branch/{branch.name}</code>
128
187
  #
@@ -132,7 +191,7 @@ module Trav3
132
191
  # Query Parameter Type Description
133
192
  # include [String] List of attributes to eager load.
134
193
  #
135
- # Example:GET /repo/rails%2Frails/branch/master
194
+ # Example: GET /repo/rails%2Frails/branch/master
136
195
  #
137
196
  # @param name [String] the branch name for the current repository
138
197
  # @return [Success, RequestError]
@@ -179,7 +238,7 @@ module Trav3
179
238
  # offset Integer How many branches to skip before the first entry in the response. Used for pagination.
180
239
  # sort_by [String] Attributes to sort branches by. Used for pagination.
181
240
  #
182
- # Example:GET /repo/891/branches?limit=5&exists_on_github=true
241
+ # Example: GET /repo/891/branches?limit=5&exists_on_github=true
183
242
  #
184
243
  # **Sortable by:** <code>name</code>, <code>last_build</code>, <code>exists_on_github</code>, <code>default_branch</code>, append <code>:desc</code> to any attribute to reverse order.
185
244
  # The default value is <code>default_branch</code>,<code>exists_on_github</code>,<code>last_build:desc</code>.
@@ -196,7 +255,7 @@ module Trav3
196
255
  # offset Integer How many branches to skip before the first entry in the response. Used for pagination.
197
256
  # sort_by [String] Attributes to sort branches by. Used for pagination.
198
257
  #
199
- # Example:GET /repo/rails%2Frails/branches?limit=5&exists_on_github=true
258
+ # Example: GET /repo/rails%2Frails/branches?limit=5&exists_on_github=true
200
259
  #
201
260
  # **Sortable by:** <code>name</code>, <code>last_build</code>, <code>exists_on_github</code>, <code>default_branch</code>, append <code>:desc</code> to any attribute to reverse order.
202
261
  # The default value is <code>default_branch</code>,<code>exists_on_github</code>,<code>last_build:desc</code>.
@@ -702,7 +761,7 @@ module Trav3
702
761
  #
703
762
  # POST <code>/lint</code>
704
763
  #
705
- # Example:POST /lint
764
+ # Example: POST /lint
706
765
  #
707
766
  # @param yaml_content [String] the contents for the file `.travis.yml`
708
767
  # @return [Success, RequestError]
@@ -770,7 +829,7 @@ module Trav3
770
829
  # include [String] List of attributes to eager load.
771
830
  # log.token Unknown Documentation missing.
772
831
  #
773
- # Example:GET /job/86601347/log.txt
832
+ # Example: GET /job/86601347/log.txt
774
833
  #
775
834
  # **Delete**
776
835
  #
@@ -848,7 +907,7 @@ module Trav3
848
907
  # Query Parameter Type Description
849
908
  # include [String] List of attributes to eager load.
850
909
  #
851
- # Example:GET /org/87
910
+ # Example: GET /org/87
852
911
  #
853
912
  # @param org_id [String, Integer] the organization id
854
913
  # @raise [TypeError] if given organization id is not a number
@@ -897,7 +956,7 @@ module Trav3
897
956
  # role Unknown Alias for organization.role.
898
957
  # sort_by [String] Attributes to sort organizations by. Used for pagination.
899
958
  #
900
- # Example:GET /orgs?limit=5
959
+ # Example: GET /orgs?limit=5
901
960
  #
902
961
  # **Sortable by:** <code>id</code>, <code>login</code>, <code>name</code>, <code>github_id</code>, append <code>:desc</code> to any attribute to reverse order.
903
962
  #
@@ -980,7 +1039,7 @@ module Trav3
980
1039
  #
981
1040
  # Example: GET /owner/github_id/639823
982
1041
  #
983
- # @param owner [String] username or github ID
1042
+ # @param owner [String] username or github id
984
1043
  # @return [Success, RequestError]
985
1044
  def owner(owner = username)
986
1045
  if number? owner
@@ -1126,7 +1185,7 @@ module Trav3
1126
1185
  #
1127
1186
  # **Sortable by:** <code>id</code>, <code>github_id</code>, <code>owner_name</code>, <code>name</code>, <code>active</code>, <code>default_branch.last_build</code>, append <code>:desc</code> to any attribute to reverse order.
1128
1187
  #
1129
- # @param owner [String] username or github ID
1188
+ # @param owner [String] username or github id
1130
1189
  # @return [Success, RequestError]
1131
1190
  def repositories(owner = username)
1132
1191
  if number? owner
@@ -1318,7 +1377,7 @@ module Trav3
1318
1377
  # Query Parameter Type Description
1319
1378
  # include [String] List of attributes to eager load.
1320
1379
  #
1321
- # Example:GET /build/86601346/stages
1380
+ # Example: GET /build/86601346/stages
1322
1381
  #
1323
1382
  # @param build_id [String, Integer] build id
1324
1383
  # @raise [TypeError] if given build id is not a number
@@ -1329,6 +1388,150 @@ module Trav3
1329
1388
  get("#{without_repo}/build/#{build_id}/stages")
1330
1389
  end
1331
1390
 
1391
+ # An individual repository setting. These are settings on a repository that can be adjusted by the user. There are currently five different kinds of settings a user can modify:
1392
+ #
1393
+ # * `builds_only_with_travis_yml` (boolean)
1394
+ # * `build_pushes` (boolean)
1395
+ # * `build_pull_requests` (boolean)
1396
+ # * `maximum_number_of_builds` (integer)
1397
+ # * `auto_cancel_pushes` (boolean)
1398
+ # * `auto_cancel_pull_requests` (boolean)
1399
+ #
1400
+ # If querying using the repository slug, it must be formatted using {http://www.w3schools.com/tags/ref_urlencode.asp standard URL encoding}, including any special characters.
1401
+ #
1402
+ # ## Attributes
1403
+ #
1404
+ # **Standard Representation**
1405
+ #
1406
+ # Included when the resource is the main response of a request, or is {https://developer.travis-ci.com/eager-loading eager loaded}.
1407
+ #
1408
+ # Name Type Description
1409
+ # name String The setting's name.
1410
+ # value Boolean or integer The setting's value.
1411
+ #
1412
+ # **Minimal Representation**
1413
+ #
1414
+ # Included when the resource is returned as part of another resource.
1415
+ #
1416
+ # Name Type Description
1417
+ # name String The setting's name.
1418
+ # value Boolean or integer The setting's value.
1419
+ #
1420
+ # ## Actions
1421
+ #
1422
+ # **Find**
1423
+ #
1424
+ # This returns a single setting. It is possible to use the repository id or slug in the request.
1425
+ #
1426
+ # GET <code>/repo/{repository.id}/setting/{setting.name}</code>
1427
+ #
1428
+ # Template Variable Type Description
1429
+ # repository.id Integer Value uniquely identifying the repository.
1430
+ # setting.name String The setting's name.
1431
+ # Query Parameter Type Description
1432
+ # include [String] List of attributes to eager load.
1433
+ #
1434
+ # GET <code>/repo/{repository.slug}/setting/{setting.name}</code>
1435
+ #
1436
+ # Template Variable Type Description
1437
+ # repository.slug String Same as {repository.owner.name}/{repository.name}.
1438
+ # setting.name String The setting's name.
1439
+ # Query Parameter Type Description
1440
+ # include [String] List of attributes to eager load.
1441
+ #
1442
+ # **Update**
1443
+ #
1444
+ # This updates a single setting. It is possible to use the repository id or slug in the request.
1445
+ #
1446
+ # Use namespaced params in the request body to pass the new setting:
1447
+ #
1448
+ # ```bash
1449
+ # curl -X PATCH \
1450
+ # -H "Content-Type: application/json" \
1451
+ # -H "Travis-API-Version: 3" \
1452
+ # -H "Authorization: token xxxxxxxxxxxx" \
1453
+ # -d '{ "setting.value": true }' \
1454
+ # https://api.travis-ci.com/repo/1234/setting/{setting.name}
1455
+ # ```
1456
+ #
1457
+ # PATCH <code>/repo/{repository.id}/setting/{setting.name}</code>
1458
+ #
1459
+ # Template Variable Type Description
1460
+ # repository.id Integer Value uniquely identifying the repository.
1461
+ # setting.name String The setting's name.
1462
+ # Accepted Parameter Type Description
1463
+ # setting.value Boolean or integer The setting's value.
1464
+ #
1465
+ # PATCH <code>/repo/{repository.slug}/setting/{setting.name}</code>
1466
+ #
1467
+ # Template Variable Type Description
1468
+ # repository.slug String Same as {repository.owner.name}/{repository.name}.
1469
+ # setting.name String The setting's name.
1470
+ # Accepted Parameter Type Description
1471
+ # setting.value Boolean or integer The setting's value.
1472
+ #
1473
+ # @param name [String] the setting name for the current repository
1474
+ # @param value [String] optional argument for setting a value for the setting name
1475
+ # @return [Success, RequestError]
1476
+ def setting(name, value = nil)
1477
+ return get("#{with_repo}/setting/#{name}") if value.nil?
1478
+
1479
+ patch("#{with_repo}/setting/#{name}", 'setting.value' => value)
1480
+ end
1481
+
1482
+ # A list of user settings. These are settings on a repository that can be adjusted by the user. There are currently six different kinds of user settings:
1483
+ #
1484
+ # * `builds_only_with_travis_yml` (boolean)
1485
+ # * `build_pushes` (boolean)
1486
+ # * `build_pull_requests` (boolean)
1487
+ # * `maximum_number_of_builds` (integer)
1488
+ # * `auto_cancel_pushes` (boolean)
1489
+ # * `auto_cancel_pull_requests` (boolean)
1490
+ #
1491
+ # If querying using the repository slug, it must be formatted using {http://www.w3schools.com/tags/ref_urlencode.asp standard URL encoding}, including any special characters.
1492
+ #
1493
+ # ## Attributes
1494
+ #
1495
+ # Name Type Description
1496
+ # settings [Setting] List of settings.
1497
+ #
1498
+ # **Collection Items**
1499
+ #
1500
+ # Each entry in the settings array has the following attributes:
1501
+ #
1502
+ # Name Type Description
1503
+ # name String The setting's name.
1504
+ # value Boolean or integer The setting's value.
1505
+ #
1506
+ # ## Actions
1507
+ #
1508
+ # **For Repository**
1509
+ #
1510
+ # This returns a list of the settings for that repository. It is possible to use the repository id or slug in the request.
1511
+ #
1512
+ # GET <code>/repo/{repository.id}/settings</code>
1513
+ #
1514
+ # Template Variable Type Description
1515
+ # repository.id Integer Value uniquely identifying the repository.
1516
+ # Query Parameter Type Description
1517
+ # include [String] List of attributes to eager load.
1518
+ #
1519
+ # Example: GET /repo/891/settings
1520
+ #
1521
+ # GET <code>/repo/{repository.slug}/settings</code>
1522
+ #
1523
+ # Template Variable Type Description
1524
+ # repository.slug String Same as {repository.owner.name}/{repository.name}.
1525
+ # Query Parameter Type Description
1526
+ # include [String] List of attributes to eager load.
1527
+ #
1528
+ # Example: GET /repo/rails%2Frails/settings
1529
+ #
1530
+ # @return [Success, RequestError]
1531
+ def settings
1532
+ get("#{with_repo}/settings")
1533
+ end
1534
+
1332
1535
  # An individual user.
1333
1536
  #
1334
1537
  # ## Attributes
@@ -1376,7 +1579,7 @@ module Trav3
1376
1579
  # Query Parameter Type Description
1377
1580
  # include [String] List of attributes to eager load.
1378
1581
  #
1379
- # Example:GET /user/119240
1582
+ # Example: GET /user/119240
1380
1583
  #
1381
1584
  # **Sync**
1382
1585
  #
@@ -1387,7 +1590,7 @@ module Trav3
1387
1590
  # Template Variable Type Description
1388
1591
  # user.id Integer Value uniquely identifying the user.
1389
1592
  #
1390
- # Example:POST /user/119240/sync
1593
+ # Example: POST /user/119240/sync
1391
1594
  #
1392
1595
  # **Current**
1393
1596
  #
@@ -1398,7 +1601,7 @@ module Trav3
1398
1601
  # Query Parameter Type Description
1399
1602
  # include [String] List of attributes to eager load.
1400
1603
  #
1401
- # Example:GET /user
1604
+ # Example: GET /user
1402
1605
  #
1403
1606
  # @note sync feature may not be permitted
1404
1607
  # @note POST requests require an authorization token set in the headers. See: {h}
@@ -1422,11 +1625,11 @@ module Trav3
1422
1625
  private # @private
1423
1626
 
1424
1627
  def delete(url)
1425
- Trav3::DELETE.call(self, url)
1628
+ Trav3::REST.delete(self, url)
1426
1629
  end
1427
1630
 
1428
1631
  def get(url, raw_reply = false)
1429
- Trav3::GET.call(self, url, raw_reply)
1632
+ Trav3::REST.get(self, url, raw_reply)
1430
1633
  end
1431
1634
 
1432
1635
  def initial_defaults
@@ -1444,8 +1647,12 @@ module Trav3
1444
1647
  @options
1445
1648
  end
1446
1649
 
1650
+ def patch(url, data)
1651
+ Trav3::REST.patch(self, url, data)
1652
+ end
1653
+
1447
1654
  def post(url, fields = {})
1448
- Trav3::POST.call(self, url, fields)
1655
+ Trav3::REST.post(self, url, fields)
1449
1656
  end
1450
1657
 
1451
1658
  def validate_api_endpoint(input)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trav3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel P. Clark
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-15 00:00:00.000000000 Z
11
+ date: 2019-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,12 +86,14 @@ files:
86
86
  - bin/console
87
87
  - bin/setup
88
88
  - lib/trav3.rb
89
- - lib/trav3/delete.rb
90
- - lib/trav3/get.rb
91
89
  - lib/trav3/headers.rb
92
90
  - lib/trav3/options.rb
93
91
  - lib/trav3/pagination.rb
94
- - lib/trav3/post.rb
92
+ - lib/trav3/rest.rb
93
+ - lib/trav3/rest/delete.rb
94
+ - lib/trav3/rest/get.rb
95
+ - lib/trav3/rest/patch.rb
96
+ - lib/trav3/rest/post.rb
95
97
  - lib/trav3/result.rb
96
98
  - lib/trav3/version.rb
97
99
  - trav3.gemspec