vpndetection 5.7.0 → 5.9.0

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.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vpndetection/api/account_wire_api.rb +1 -1
  3. data/lib/vpndetection/api/api_keys_wire_api.rb +1 -1
  4. data/lib/vpndetection/api/authorization_wire_api.rb +1 -1
  5. data/lib/vpndetection/api/database_wire_api.rb +1 -1
  6. data/lib/vpndetection/api/entitlement_wire_api.rb +1 -1
  7. data/lib/vpndetection/api/lookup_wire_api.rb +1 -1
  8. data/lib/vpndetection/api/organization_wire_api.rb +1 -1
  9. data/lib/vpndetection/api_client.rb +1 -1
  10. data/lib/vpndetection/api_error.rb +1 -1
  11. data/lib/vpndetection/api_model_base.rb +1 -1
  12. data/lib/vpndetection/configuration.rb +1 -1
  13. data/lib/vpndetection/errors.rb +4 -2
  14. data/lib/vpndetection/models/account_create_apikey_request.rb +1 -1
  15. data/lib/vpndetection/models/account_created_apikey.rb +1 -1
  16. data/lib/vpndetection/models/account_org.rb +1 -1
  17. data/lib/vpndetection/models/account_org_ref.rb +1 -1
  18. data/lib/vpndetection/models/account_org_wrap.rb +1 -1
  19. data/lib/vpndetection/models/account_rc.rb +1 -1
  20. data/lib/vpndetection/models/account_revealed_apikey.rb +1 -1
  21. data/lib/vpndetection/models/account_user.rb +1 -1
  22. data/lib/vpndetection/models/apikey_detail.rb +1 -1
  23. data/lib/vpndetection/models/apikey_list.rb +1 -1
  24. data/lib/vpndetection/models/batch_lookup_error.rb +1 -1
  25. data/lib/vpndetection/models/batch_lookup_request.rb +1 -1
  26. data/lib/vpndetection/models/batch_lookup_response.rb +1 -1
  27. data/lib/vpndetection/models/class_detail.rb +1 -1
  28. data/lib/vpndetection/models/client_registration.rb +2 -2
  29. data/lib/vpndetection/models/client_registration_request.rb +1 -1
  30. data/lib/vpndetection/models/database.rb +1 -1
  31. data/lib/vpndetection/models/database_checksums_response.rb +1 -1
  32. data/lib/vpndetection/models/database_format.rb +1 -1
  33. data/lib/vpndetection/models/database_format_size.rb +1 -1
  34. data/lib/vpndetection/models/database_list.rb +1 -1
  35. data/lib/vpndetection/models/database_metadata.rb +1 -1
  36. data/lib/vpndetection/models/database_metadata_column.rb +1 -1
  37. data/lib/vpndetection/models/database_version.rb +1 -1
  38. data/lib/vpndetection/models/db_checksums.rb +1 -1
  39. data/lib/vpndetection/models/device_authorization.rb +1 -1
  40. data/lib/vpndetection/models/download.rb +1 -1
  41. data/lib/vpndetection/models/download_list.rb +1 -1
  42. data/lib/vpndetection/models/entitlement.rb +1 -1
  43. data/lib/vpndetection/models/entitlement_apikey.rb +1 -1
  44. data/lib/vpndetection/models/entitlement_error.rb +1 -1
  45. data/lib/vpndetection/models/entitlement_plan.rb +1 -1
  46. data/lib/vpndetection/models/entitlement_usage.rb +1 -1
  47. data/lib/vpndetection/models/error_envelope.rb +1 -1
  48. data/lib/vpndetection/models/identity.rb +1 -1
  49. data/lib/vpndetection/models/lookup_error.rb +1 -1
  50. data/lib/vpndetection/models/lookup_response.rb +26 -6
  51. data/lib/vpndetection/models/oauth_error.rb +1 -1
  52. data/lib/vpndetection/models/oauth_metadata.rb +1 -1
  53. data/lib/vpndetection/models/proxy_detail.rb +1 -1
  54. data/lib/vpndetection/models/pubproxy_detail.rb +211 -0
  55. data/lib/vpndetection/models/standing.rb +1 -1
  56. data/lib/vpndetection/models/token_response.rb +1 -1
  57. data/lib/vpndetection/models/vpn_detail.rb +1 -1
  58. data/lib/vpndetection/result.rb +23 -1
  59. data/lib/vpndetection/version.rb +1 -1
  60. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4d2347cdbad2a8933fabc8ed41401e231f6988146a2f9e7891580462bc8f586
4
- data.tar.gz: 3c7a7dfa8fbe7c942b140be9f4065f9959a4e51871bb3bdb52722ba67b4041ab
3
+ metadata.gz: 9dd1a9015e11fcd72008303761601cdeb4fb1bf3b9b672e7e6636ce0ee0a540f
4
+ data.tar.gz: f8cff5caeff344d0a669fd066423861cbcde845d22a832859e13e0ef7871583e
5
5
  SHA512:
6
- metadata.gz: 2bfc0d09a0378f99c7831d0f3b28a1b3208c61b5ae60dbd9229212fc437b5ec53560409e5a4830d190e4fa1220ccd65d72286387871d30402bd92911ada9a1de
7
- data.tar.gz: 9b9b5f410f78306b73e1552dbcb717fa8e8d739a7a37e754809918b55aff17e4362dad91240ae5fb7085c1855e7667851a3653f76102cfb2e712135acd2eacf5
6
+ metadata.gz: b290fc24f994a07348fa600ea74bdd4abb75b38d7e9745ce5a2988f0d8556ac0b923e72f39b1f186913dd47b9819e513e33d387f3d22075a0679a19b1ac553d9
7
+ data.tar.gz: 75b53d7b79396301334010f6f5893431f6d51ab2bcc4a2e1cee0a862926812e46c9ebfc8ed98398ea7887c9dfcc2f844775fdd7fdfb8de3a30ce8e64f5da6a52
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -104,9 +104,11 @@ module VPNDetection
104
104
  return nil if value.empty?
105
105
  return Integer(value, 10) if value.match?(/\A\d+\z/)
106
106
 
107
- # The header also permits an HTTP date.
107
+ # The header also permits an HTTP date, naming a real day: `Time.httpdate`
108
+ # reads `31 Nov` as 1 December, and the day it names comes first in all
109
+ # three forms.
108
110
  when_at = Time.httpdate(value) rescue nil
109
- return nil if when_at.nil?
111
+ return nil if when_at.nil? || when_at.day != value[/\d+/].to_i
110
112
 
111
113
  [0, (when_at - Time.now).ceil].max
112
114
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -17,7 +17,7 @@ module VPNDetection
17
17
  class ClientRegistration < ApiModelBase
18
18
  attr_accessor :client_id
19
19
 
20
- # Unix seconds.
20
+ # Unix seconds. 64-bit, since 32 bits run out on 2038-01-19.
21
21
  attr_accessor :client_id_issued_at
22
22
 
23
23
  # As the person will see it.
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -25,7 +25,7 @@ module VPNDetection
25
25
  # Whether the address belongs to a hosting or cloud provider. Starter and above.
26
26
  attr_accessor :is_hosting
27
27
 
28
- # Whether the address is a privacy relay egress. Starter and above.
28
+ # Whether the address is privacy relay or enterprise web gateway egress, such as iCloud Private Relay or Zscaler. Starter and above.
29
29
  attr_accessor :is_relay
30
30
 
31
31
  # Whether the address is a Tor node. Starter and above.
@@ -43,6 +43,9 @@ module VPNDetection
43
43
  # Whether the address was seen in a mobile proxy pool. Scale and above.
44
44
  attr_accessor :is_mobproxy
45
45
 
46
+ # Whether a public proxy, one anyone can connect through, listens on the address or sends its traffic out from it. Scale and above.
47
+ attr_accessor :is_pubproxy
48
+
46
49
  # Detail for `is_vpn`. Empty when `is_vpn` is false. Starter and above.
47
50
  attr_accessor :vpn
48
51
 
@@ -67,6 +70,9 @@ module VPNDetection
67
70
  # Detail for `is_mobproxy`. Empty when false. Max only.
68
71
  attr_accessor :mobproxy
69
72
 
73
+ # Detail for `is_pubproxy`. Empty when false. Max only.
74
+ attr_accessor :pubproxy
75
+
70
76
  # Attribute mapping from ruby-style variable name to JSON key.
71
77
  def self.attribute_map
72
78
  {
@@ -79,6 +85,7 @@ module VPNDetection
79
85
  :'is_resproxy' => :'is_resproxy',
80
86
  :'is_dcproxy' => :'is_dcproxy',
81
87
  :'is_mobproxy' => :'is_mobproxy',
88
+ :'is_pubproxy' => :'is_pubproxy',
82
89
  :'vpn' => :'vpn',
83
90
  :'hosting' => :'hosting',
84
91
  :'relay' => :'relay',
@@ -86,7 +93,8 @@ module VPNDetection
86
93
  :'cdn' => :'cdn',
87
94
  :'resproxy' => :'resproxy',
88
95
  :'dcproxy' => :'dcproxy',
89
- :'mobproxy' => :'mobproxy'
96
+ :'mobproxy' => :'mobproxy',
97
+ :'pubproxy' => :'pubproxy'
90
98
  }
91
99
  end
92
100
 
@@ -112,6 +120,7 @@ module VPNDetection
112
120
  :'is_resproxy' => :'Boolean',
113
121
  :'is_dcproxy' => :'Boolean',
114
122
  :'is_mobproxy' => :'Boolean',
123
+ :'is_pubproxy' => :'Boolean',
115
124
  :'vpn' => :'VpnDetail',
116
125
  :'hosting' => :'ClassDetail',
117
126
  :'relay' => :'ClassDetail',
@@ -119,7 +128,8 @@ module VPNDetection
119
128
  :'cdn' => :'ClassDetail',
120
129
  :'resproxy' => :'ProxyDetail',
121
130
  :'dcproxy' => :'ProxyDetail',
122
- :'mobproxy' => :'ProxyDetail'
131
+ :'mobproxy' => :'ProxyDetail',
132
+ :'pubproxy' => :'PubproxyDetail'
123
133
  }
124
134
  end
125
135
 
@@ -185,6 +195,10 @@ module VPNDetection
185
195
  self.is_mobproxy = attributes[:'is_mobproxy']
186
196
  end
187
197
 
198
+ if attributes.key?(:'is_pubproxy')
199
+ self.is_pubproxy = attributes[:'is_pubproxy']
200
+ end
201
+
188
202
  if attributes.key?(:'vpn')
189
203
  self.vpn = attributes[:'vpn']
190
204
  end
@@ -216,6 +230,10 @@ module VPNDetection
216
230
  if attributes.key?(:'mobproxy')
217
231
  self.mobproxy = attributes[:'mobproxy']
218
232
  end
233
+
234
+ if attributes.key?(:'pubproxy')
235
+ self.pubproxy = attributes[:'pubproxy']
236
+ end
219
237
  end
220
238
 
221
239
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -277,6 +295,7 @@ module VPNDetection
277
295
  is_resproxy == o.is_resproxy &&
278
296
  is_dcproxy == o.is_dcproxy &&
279
297
  is_mobproxy == o.is_mobproxy &&
298
+ is_pubproxy == o.is_pubproxy &&
280
299
  vpn == o.vpn &&
281
300
  hosting == o.hosting &&
282
301
  relay == o.relay &&
@@ -284,7 +303,8 @@ module VPNDetection
284
303
  cdn == o.cdn &&
285
304
  resproxy == o.resproxy &&
286
305
  dcproxy == o.dcproxy &&
287
- mobproxy == o.mobproxy
306
+ mobproxy == o.mobproxy &&
307
+ pubproxy == o.pubproxy
288
308
  end
289
309
 
290
310
  # @see the `==` method
@@ -296,7 +316,7 @@ module VPNDetection
296
316
  # Calculates hash code according to all attributes.
297
317
  # @return [Integer] Hash code
298
318
  def hash
299
- [ip, is_vpn, is_hosting, is_relay, is_tor, is_cdn, is_resproxy, is_dcproxy, is_mobproxy, vpn, hosting, relay, tor, cdn, resproxy, dcproxy, mobproxy].hash
319
+ [ip, is_vpn, is_hosting, is_relay, is_tor, is_cdn, is_resproxy, is_dcproxy, is_mobproxy, is_pubproxy, vpn, hosting, relay, tor, cdn, resproxy, dcproxy, mobproxy, pubproxy].hash
300
320
  end
301
321
 
302
322
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -0,0 +1,211 @@
1
+ =begin
2
+ #VPNDetection API
3
+
4
+ #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
+
6
+ The version of the OpenAPI document: 2026.10.19
7
+ Contact: support@vpndetection.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module VPNDetection
17
+ # The address in Public Proxy IP, open proxies anyone can connect through, measured over a rolling 90 day window. An address is either end of a proxy, or both: where it listens, and where its traffic leaves from. Every key is present when the object is populated; the object is `{}` when `is_pubproxy` is false.
18
+ class PubproxyDetail < ApiModelBase
19
+ # Whether a public proxy listens on this address.
20
+ attr_accessor :entry
21
+
22
+ # Whether a public proxy's traffic leaves from this address.
23
+ attr_accessor :exit
24
+
25
+ # The protocols of the proxies listening on or leaving from this address: `http`, `https` (an HTTP proxy that also tunnels HTTPS), `socks4` or `socks5`. Empty where only the address is known.
26
+ attr_accessor :protocols
27
+
28
+ # How many distinct ports a public proxy listens on at this address; 0 when it is only an exit, or its port is not known.
29
+ attr_accessor :num_ports
30
+
31
+ # How many distinct public proxies' traffic left from this address; 0 when it is only an entry.
32
+ attr_accessor :num_proxies
33
+
34
+ # The most recent date within the window a proxy on this address was seen.
35
+ attr_accessor :last_seen
36
+
37
+ # The most recent date within the window a request through a proxy on this address was answered, as YYYY-MM-DD, or an empty string when none was.
38
+ attr_accessor :last_usable
39
+
40
+ # Attribute mapping from ruby-style variable name to JSON key.
41
+ def self.attribute_map
42
+ {
43
+ :'entry' => :'entry',
44
+ :'exit' => :'exit',
45
+ :'protocols' => :'protocols',
46
+ :'num_ports' => :'num_ports',
47
+ :'num_proxies' => :'num_proxies',
48
+ :'last_seen' => :'last_seen',
49
+ :'last_usable' => :'last_usable'
50
+ }
51
+ end
52
+
53
+ # Returns attribute mapping this model knows about
54
+ def self.acceptable_attribute_map
55
+ attribute_map
56
+ end
57
+
58
+ # Returns all the JSON keys this model knows about
59
+ def self.acceptable_attributes
60
+ acceptable_attribute_map.values
61
+ end
62
+
63
+ # Attribute type mapping.
64
+ def self.openapi_types
65
+ {
66
+ :'entry' => :'Boolean',
67
+ :'exit' => :'Boolean',
68
+ :'protocols' => :'Array<String>',
69
+ :'num_ports' => :'Integer',
70
+ :'num_proxies' => :'Integer',
71
+ :'last_seen' => :'Date',
72
+ :'last_usable' => :'String'
73
+ }
74
+ end
75
+
76
+ # List of attributes with nullable: true
77
+ def self.openapi_nullable
78
+ Set.new([
79
+ ])
80
+ end
81
+
82
+ # Initializes the object
83
+ # @param [Hash] attributes Model attributes in the form of hash
84
+ def initialize(attributes = {})
85
+ if (!attributes.is_a?(Hash))
86
+ fail ArgumentError, "The input argument (attributes) must be a hash in `VPNDetection::PubproxyDetail` initialize method"
87
+ end
88
+
89
+ # check to see if the attribute exists and convert string to symbol for hash key
90
+ acceptable_attribute_map = self.class.acceptable_attribute_map
91
+ attributes = attributes.each_with_object({}) { |(k, v), h|
92
+ if (!acceptable_attribute_map.key?(k.to_sym))
93
+ fail ArgumentError, "`#{k}` is not a valid attribute in `VPNDetection::PubproxyDetail`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
94
+ end
95
+ h[k.to_sym] = v
96
+ }
97
+
98
+ if attributes.key?(:'entry')
99
+ self.entry = attributes[:'entry']
100
+ end
101
+
102
+ if attributes.key?(:'exit')
103
+ self.exit = attributes[:'exit']
104
+ end
105
+
106
+ if attributes.key?(:'protocols')
107
+ if (value = attributes[:'protocols']).is_a?(Array)
108
+ self.protocols = value
109
+ end
110
+ end
111
+
112
+ if attributes.key?(:'num_ports')
113
+ self.num_ports = attributes[:'num_ports']
114
+ end
115
+
116
+ if attributes.key?(:'num_proxies')
117
+ self.num_proxies = attributes[:'num_proxies']
118
+ end
119
+
120
+ if attributes.key?(:'last_seen')
121
+ self.last_seen = attributes[:'last_seen']
122
+ end
123
+
124
+ if attributes.key?(:'last_usable')
125
+ self.last_usable = attributes[:'last_usable']
126
+ end
127
+ end
128
+
129
+ # Show invalid properties with the reasons. Usually used together with valid?
130
+ # @return Array for valid properties with the reasons
131
+ def list_invalid_properties
132
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
133
+ invalid_properties = Array.new
134
+ invalid_properties
135
+ end
136
+
137
+ # Check to see if the all the properties in the model are valid
138
+ # @return true if the model is valid
139
+ def valid?
140
+ warn '[DEPRECATED] the `valid?` method is obsolete'
141
+ true
142
+ end
143
+
144
+ # Checks equality by comparing each attribute.
145
+ # @param [Object] Object to be compared
146
+ def ==(o)
147
+ return true if self.equal?(o)
148
+ self.class == o.class &&
149
+ entry == o.entry &&
150
+ exit == o.exit &&
151
+ protocols == o.protocols &&
152
+ num_ports == o.num_ports &&
153
+ num_proxies == o.num_proxies &&
154
+ last_seen == o.last_seen &&
155
+ last_usable == o.last_usable
156
+ end
157
+
158
+ # @see the `==` method
159
+ # @param [Object] Object to be compared
160
+ def eql?(o)
161
+ self == o
162
+ end
163
+
164
+ # Calculates hash code according to all attributes.
165
+ # @return [Integer] Hash code
166
+ def hash
167
+ [entry, exit, protocols, num_ports, num_proxies, last_seen, last_usable].hash
168
+ end
169
+
170
+ # Builds the object from hash
171
+ # @param [Hash] attributes Model attributes in the form of hash
172
+ # @return [Object] Returns the model itself
173
+ def self.build_from_hash(attributes)
174
+ return nil unless attributes.is_a?(Hash)
175
+ attributes = attributes.transform_keys(&:to_sym)
176
+ transformed_hash = {}
177
+ openapi_types.each_pair do |key, type|
178
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
179
+ transformed_hash["#{key}"] = nil
180
+ elsif type =~ /\AArray<(.*)>/i
181
+ # check to ensure the input is an array given that the attribute
182
+ # is documented as an array but the input is not
183
+ if attributes[attribute_map[key]].is_a?(Array)
184
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
185
+ end
186
+ elsif !attributes[attribute_map[key]].nil?
187
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
188
+ end
189
+ end
190
+ new(transformed_hash)
191
+ end
192
+
193
+ # Returns the object in the form of hash
194
+ # @return [Hash] Returns the object in the form of hash
195
+ def to_hash
196
+ hash = {}
197
+ self.class.attribute_map.each_pair do |attr, param|
198
+ value = self.send(attr)
199
+ if value.nil?
200
+ is_nullable = self.class.openapi_nullable.include?(attr)
201
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
202
+ end
203
+
204
+ hash[param] = _to_hash(value)
205
+ end
206
+ hash
207
+ end
208
+
209
+ end
210
+
211
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The VPNDetection API: classify any IP address, and download the databases behind the answers. See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io for the official client libraries.
5
5
 
6
- The version of the OpenAPI document: 2026.10.16
6
+ The version of the OpenAPI document: 2026.10.19
7
7
  Contact: support@vpndetection.io
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -19,9 +19,10 @@ module VPNDetection
19
19
  class Result
20
20
  FLAGS = %w[
21
21
  is_vpn is_hosting is_relay is_tor is_cdn is_resproxy is_dcproxy is_mobproxy
22
+ is_pubproxy
22
23
  ].freeze
23
24
 
24
- DETAILS = %w[vpn hosting relay tor cdn resproxy dcproxy mobproxy].freeze
25
+ DETAILS = %w[vpn hosting relay tor cdn resproxy dcproxy mobproxy pubproxy].freeze
25
26
 
26
27
  # The response exactly as it came off the wire, with its original names.
27
28
  # Frozen, because the cache hands this same object to every later caller of
@@ -141,6 +142,18 @@ module VPNDetection
141
142
  @raw['is_mobproxy'] == true
142
143
  end
143
144
 
145
+ # Whether a public proxy, one anyone can connect through, listens on the
146
+ # address or sends its traffic out from it, or nil when your plan does not
147
+ # include it. Scale and above.
148
+ def is_pubproxy
149
+ @raw['is_pubproxy']
150
+ end
151
+
152
+ # `is_pubproxy` with an absent member read as false.
153
+ def pubproxy?
154
+ @raw['is_pubproxy'] == true
155
+ end
156
+
144
157
  # Detail for `is_vpn`: provider, last_seen, and on max confidence and method.
145
158
  def vpn
146
159
  @raw['vpn']
@@ -181,6 +194,15 @@ module VPNDetection
181
194
  @raw['mobproxy']
182
195
  end
183
196
 
197
+ # Detail for `is_pubproxy`: entry, exit, protocols, num_ports,
198
+ # num_proxies, last_seen and last_usable. num_ports is 0 when the address
199
+ # is only an exit and num_proxies 0 when it is only an entry; last_usable is
200
+ # an empty string when no request through a proxy on the address was
201
+ # answered. Max only.
202
+ def pubproxy
203
+ @raw['pubproxy']
204
+ end
205
+
184
206
  def to_h
185
207
  @raw
186
208
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VPNDetection
4
- VERSION = '5.7.0'
4
+ VERSION = '5.9.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpndetection
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.7.0
4
+ version: 5.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mslm Dev
@@ -108,6 +108,7 @@ files:
108
108
  - lib/vpndetection/models/oauth_error.rb
109
109
  - lib/vpndetection/models/oauth_metadata.rb
110
110
  - lib/vpndetection/models/proxy_detail.rb
111
+ - lib/vpndetection/models/pubproxy_detail.rb
111
112
  - lib/vpndetection/models/standing.rb
112
113
  - lib/vpndetection/models/token_response.rb
113
114
  - lib/vpndetection/models/vpn_detail.rb