ipgeolocation_sdk 1.0.0 → 2.0.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +288 -2003
- data/lib/ipgeolocation_sdk/client.rb +223 -0
- data/lib/ipgeolocation_sdk/client_config.rb +102 -0
- data/lib/ipgeolocation_sdk/enums.rb +110 -0
- data/lib/ipgeolocation_sdk/errors.rb +38 -0
- data/lib/ipgeolocation_sdk/json_output.rb +30 -0
- data/lib/ipgeolocation_sdk/models.rb +186 -0
- data/lib/ipgeolocation_sdk/request_models.rb +175 -0
- data/lib/ipgeolocation_sdk/serde.rb +433 -0
- data/lib/ipgeolocation_sdk/transport.rb +109 -0
- data/lib/ipgeolocation_sdk/value_object.rb +60 -0
- data/lib/ipgeolocation_sdk/version.rb +1 -13
- data/lib/ipgeolocation_sdk.rb +19 -101
- metadata +29 -310
- data/Gemfile +0 -9
- data/Rakefile +0 -10
- data/docs/ASNConnection.md +0 -22
- data/docs/ASNDetails.md +0 -48
- data/docs/ASNLookupApi.md +0 -89
- data/docs/ASNResponse.md +0 -20
- data/docs/ASNResponseXML.md +0 -20
- data/docs/ASNResponseXMLAsn.md +0 -48
- data/docs/Abuse.md +0 -40
- data/docs/AbuseContactApi.md +0 -85
- data/docs/AbuseResponse.md +0 -20
- data/docs/AbuseResponseXML.md +0 -20
- data/docs/Astronomy.md +0 -68
- data/docs/AstronomyApi.md +0 -97
- data/docs/AstronomyEvening.md +0 -36
- data/docs/AstronomyLocation.md +0 -50
- data/docs/AstronomyMorning.md +0 -36
- data/docs/AstronomyResponse.md +0 -22
- data/docs/AstronomyXMLResponse.md +0 -22
- data/docs/BulkIPGeolocation.md +0 -42
- data/docs/BulkIPSecurity.md +0 -42
- data/docs/CountryMetadata.md +0 -22
- data/docs/Currency.md +0 -22
- data/docs/ErrorResponse.md +0 -18
- data/docs/ErrorXMLResponse.md +0 -18
- data/docs/ErrorXMLResponseArray.md +0 -18
- data/docs/GeolocationResponse.md +0 -38
- data/docs/GeolocationXMLResponse.md +0 -38
- data/docs/GeolocationXMLResponseArray.md +0 -38
- data/docs/GetBulkIpGeolocation200ResponseInner1.md +0 -49
- data/docs/GetBulkIpGeolocationRequest.md +0 -18
- data/docs/GetBulkIpSecurityInfo200ResponseInner1.md +0 -49
- data/docs/IPLocationApi.md +0 -175
- data/docs/Location.md +0 -58
- data/docs/LocationMinimal.md +0 -52
- data/docs/Network.md +0 -22
- data/docs/NetworkAsn.md +0 -38
- data/docs/NetworkCompany.md +0 -22
- data/docs/NetworkMinimal.md +0 -20
- data/docs/NetworkMinimalAsn.md +0 -22
- data/docs/NetworkMinimalCompany.md +0 -18
- data/docs/ParseBulkUserAgentStringsRequest.md +0 -18
- data/docs/ParseUserAgentStringRequest.md +0 -18
- data/docs/Security.md +0 -38
- data/docs/SecurityAPIResponse.md +0 -34
- data/docs/SecurityAPIXMLResponse.md +0 -34
- data/docs/SecurityAPIXMLResponseArray.md +0 -34
- data/docs/SecurityApi.md +0 -175
- data/docs/TimeConversionApi.md +0 -109
- data/docs/TimeConversionResponse.md +0 -24
- data/docs/TimeConversionXMLResponse.md +0 -24
- data/docs/TimeZone.md +0 -36
- data/docs/TimeZoneDetailedResponse.md +0 -26
- data/docs/TimeZoneDetailedXMLResponse.md +0 -26
- data/docs/TimeZoneDstEnd.md +0 -28
- data/docs/TimeZoneDstStart.md +0 -28
- data/docs/TimezoneAirport.md +0 -40
- data/docs/TimezoneApi.md +0 -99
- data/docs/TimezoneDetail.md +0 -56
- data/docs/TimezoneDetailDstEnd.md +0 -28
- data/docs/TimezoneDetailDstStart.md +0 -28
- data/docs/TimezoneLocation.md +0 -48
- data/docs/TimezoneLocode.md +0 -32
- data/docs/UserAgentApi.md +0 -235
- data/docs/UserAgentData.md +0 -32
- data/docs/UserAgentDataDevice.md +0 -24
- data/docs/UserAgentDataEngine.md +0 -24
- data/docs/UserAgentDataOperatingSystem.md +0 -26
- data/docs/UserAgentXMLData.md +0 -32
- data/docs/UserAgentXMLDataArray.md +0 -32
- data/git_push.sh +0 -57
- data/ipgeolocation_sdk.gemspec +0 -29
- data/lib/ipgeolocation_sdk/api/abuse_contact_api.rb +0 -86
- data/lib/ipgeolocation_sdk/api/asn_lookup_api.rb +0 -92
- data/lib/ipgeolocation_sdk/api/astronomy_api.rb +0 -116
- data/lib/ipgeolocation_sdk/api/ip_geolocation_api.rb +0 -186
- data/lib/ipgeolocation_sdk/api/ip_security_api.rb +0 -184
- data/lib/ipgeolocation_sdk/api/time_conversion_api.rb +0 -122
- data/lib/ipgeolocation_sdk/api/timezone_api.rb +0 -113
- data/lib/ipgeolocation_sdk/api/user_agent_api.rb +0 -158
- data/lib/ipgeolocation_sdk/api_client.rb +0 -393
- data/lib/ipgeolocation_sdk/api_error.rb +0 -58
- data/lib/ipgeolocation_sdk/configuration.rb +0 -308
- data/lib/ipgeolocation_sdk/models/abuse.rb +0 -305
- data/lib/ipgeolocation_sdk/models/abuse_response.rb +0 -229
- data/lib/ipgeolocation_sdk/models/abuse_response_xml.rb +0 -229
- data/lib/ipgeolocation_sdk/models/asn_connection.rb +0 -238
- data/lib/ipgeolocation_sdk/models/asn_response.rb +0 -230
- data/lib/ipgeolocation_sdk/models/asn_response_asn.rb +0 -368
- data/lib/ipgeolocation_sdk/models/asn_response_xml.rb +0 -229
- data/lib/ipgeolocation_sdk/models/asn_response_xml_asn.rb +0 -364
- data/lib/ipgeolocation_sdk/models/astronomy.rb +0 -445
- data/lib/ipgeolocation_sdk/models/astronomy_evening.rb +0 -301
- data/lib/ipgeolocation_sdk/models/astronomy_location.rb +0 -364
- data/lib/ipgeolocation_sdk/models/astronomy_morning.rb +0 -301
- data/lib/ipgeolocation_sdk/models/astronomy_response.rb +0 -238
- data/lib/ipgeolocation_sdk/models/astronomy_xml_response.rb +0 -238
- data/lib/ipgeolocation_sdk/models/bulk_ip_geolocation.rb +0 -113
- data/lib/ipgeolocation_sdk/models/bulk_ip_security.rb +0 -113
- data/lib/ipgeolocation_sdk/models/country_metadata.rb +0 -240
- data/lib/ipgeolocation_sdk/models/currency.rb +0 -238
- data/lib/ipgeolocation_sdk/models/error_response.rb +0 -220
- data/lib/ipgeolocation_sdk/models/error_xml_response.rb +0 -220
- data/lib/ipgeolocation_sdk/models/error_xml_response_array.rb +0 -220
- data/lib/ipgeolocation_sdk/models/geolocation_response.rb +0 -310
- data/lib/ipgeolocation_sdk/models/geolocation_xml_response.rb +0 -310
- data/lib/ipgeolocation_sdk/models/geolocation_xml_response_array.rb +0 -310
- data/lib/ipgeolocation_sdk/models/get_bulk_ip_geolocation200_response_inner1.rb +0 -105
- data/lib/ipgeolocation_sdk/models/get_bulk_ip_geolocation_request.rb +0 -241
- data/lib/ipgeolocation_sdk/models/get_bulk_ip_security_info200_response_inner1.rb +0 -105
- data/lib/ipgeolocation_sdk/models/location.rb +0 -400
- data/lib/ipgeolocation_sdk/models/location_minimal.rb +0 -373
- data/lib/ipgeolocation_sdk/models/network.rb +0 -238
- data/lib/ipgeolocation_sdk/models/network_asn.rb +0 -310
- data/lib/ipgeolocation_sdk/models/network_company.rb +0 -238
- data/lib/ipgeolocation_sdk/models/network_minimal.rb +0 -229
- data/lib/ipgeolocation_sdk/models/network_minimal_asn.rb +0 -238
- data/lib/ipgeolocation_sdk/models/network_minimal_company.rb +0 -220
- data/lib/ipgeolocation_sdk/models/parse_bulk_user_agent_strings_request.rb +0 -222
- data/lib/ipgeolocation_sdk/models/parse_user_agent_string_request.rb +0 -220
- data/lib/ipgeolocation_sdk/models/security.rb +0 -310
- data/lib/ipgeolocation_sdk/models/security_api_response.rb +0 -292
- data/lib/ipgeolocation_sdk/models/security_apixml_response.rb +0 -292
- data/lib/ipgeolocation_sdk/models/security_apixml_response_array.rb +0 -292
- data/lib/ipgeolocation_sdk/models/time_conversion_response.rb +0 -247
- data/lib/ipgeolocation_sdk/models/time_conversion_xml_response.rb +0 -247
- data/lib/ipgeolocation_sdk/models/time_zone.rb +0 -301
- data/lib/ipgeolocation_sdk/models/time_zone_detailed_response.rb +0 -256
- data/lib/ipgeolocation_sdk/models/time_zone_detailed_xml_response.rb +0 -256
- data/lib/ipgeolocation_sdk/models/time_zone_dst_end.rb +0 -265
- data/lib/ipgeolocation_sdk/models/time_zone_dst_start.rb +0 -265
- data/lib/ipgeolocation_sdk/models/timezone_airport.rb +0 -319
- data/lib/ipgeolocation_sdk/models/timezone_detail.rb +0 -391
- data/lib/ipgeolocation_sdk/models/timezone_detail_dst_end.rb +0 -265
- data/lib/ipgeolocation_sdk/models/timezone_detail_dst_start.rb +0 -265
- data/lib/ipgeolocation_sdk/models/timezone_location.rb +0 -355
- data/lib/ipgeolocation_sdk/models/timezone_locode.rb +0 -283
- data/lib/ipgeolocation_sdk/models/user_agent_data.rb +0 -283
- data/lib/ipgeolocation_sdk/models/user_agent_data_device.rb +0 -247
- data/lib/ipgeolocation_sdk/models/user_agent_data_engine.rb +0 -247
- data/lib/ipgeolocation_sdk/models/user_agent_data_operating_system.rb +0 -256
- data/lib/ipgeolocation_sdk/models/user_agent_xml_data.rb +0 -283
- data/lib/ipgeolocation_sdk/models/user_agent_xml_data_array.rb +0 -283
- data/spec/api/abuse_contact_api_spec.rb +0 -48
- data/spec/api/asn_lookup_api_spec.rb +0 -50
- data/spec/api/astronomy_api_spec.rb +0 -54
- data/spec/api/ip_location_api_spec.rb +0 -67
- data/spec/api/security_api_spec.rb +0 -67
- data/spec/api/time_conversion_api_spec.rb +0 -60
- data/spec/api/timezone_api_spec.rb +0 -56
- data/spec/api/user_agent_api_spec.rb +0 -74
- data/spec/models/abuse_response_spec.rb +0 -42
- data/spec/models/abuse_response_xml_spec.rb +0 -42
- data/spec/models/abuse_spec.rb +0 -90
- data/spec/models/asn_connection_spec.rb +0 -48
- data/spec/models/asn_response_asn_spec.rb +0 -126
- data/spec/models/asn_response_spec.rb +0 -42
- data/spec/models/asn_response_xml_asn_spec.rb +0 -126
- data/spec/models/asn_response_xml_spec.rb +0 -42
- data/spec/models/astronomy_evening_spec.rb +0 -90
- data/spec/models/astronomy_location_spec.rb +0 -132
- data/spec/models/astronomy_morning_spec.rb +0 -90
- data/spec/models/astronomy_response_spec.rb +0 -48
- data/spec/models/astronomy_spec.rb +0 -186
- data/spec/models/astronomy_xml_response_spec.rb +0 -48
- data/spec/models/country_metadata_spec.rb +0 -48
- data/spec/models/currency_spec.rb +0 -48
- data/spec/models/error_response_spec.rb +0 -36
- data/spec/models/error_xml_response_array_spec.rb +0 -36
- data/spec/models/error_xml_response_spec.rb +0 -36
- data/spec/models/geolocation_response_spec.rb +0 -96
- data/spec/models/geolocation_xml_response_array_spec.rb +0 -96
- data/spec/models/geolocation_xml_response_spec.rb +0 -96
- data/spec/models/get_bulk_ip_geolocation200_response_inner1_spec.rb +0 -32
- data/spec/models/get_bulk_ip_geolocation200_response_inner_spec.rb +0 -32
- data/spec/models/get_bulk_ip_geolocation_request_spec.rb +0 -36
- data/spec/models/get_bulk_ip_security_info200_response_inner1_spec.rb +0 -32
- data/spec/models/get_bulk_ip_security_info200_response_inner_spec.rb +0 -32
- data/spec/models/location_minimal_spec.rb +0 -138
- data/spec/models/location_spec.rb +0 -156
- data/spec/models/network_asn_spec.rb +0 -96
- data/spec/models/network_company_spec.rb +0 -48
- data/spec/models/network_minimal_asn_spec.rb +0 -48
- data/spec/models/network_minimal_company_spec.rb +0 -36
- data/spec/models/network_minimal_spec.rb +0 -42
- data/spec/models/network_spec.rb +0 -48
- data/spec/models/parse_bulk_user_agent_strings_request_spec.rb +0 -36
- data/spec/models/parse_user_agent_string_request_spec.rb +0 -36
- data/spec/models/security_api_response_spec.rb +0 -84
- data/spec/models/security_apixml_response_array_spec.rb +0 -84
- data/spec/models/security_apixml_response_spec.rb +0 -84
- data/spec/models/security_spec.rb +0 -96
- data/spec/models/time_conversion_response_spec.rb +0 -54
- data/spec/models/time_conversion_xml_response_spec.rb +0 -54
- data/spec/models/time_zone_detailed_response_spec.rb +0 -60
- data/spec/models/time_zone_detailed_xml_response_spec.rb +0 -60
- data/spec/models/time_zone_dst_end_spec.rb +0 -66
- data/spec/models/time_zone_dst_start_spec.rb +0 -66
- data/spec/models/time_zone_spec.rb +0 -90
- data/spec/models/timezone_airport_spec.rb +0 -102
- data/spec/models/timezone_detail_dst_end_spec.rb +0 -66
- data/spec/models/timezone_detail_dst_start_spec.rb +0 -66
- data/spec/models/timezone_detail_spec.rb +0 -150
- data/spec/models/timezone_location_spec.rb +0 -126
- data/spec/models/timezone_locode_spec.rb +0 -78
- data/spec/models/user_agent_data_device_spec.rb +0 -54
- data/spec/models/user_agent_data_engine_spec.rb +0 -54
- data/spec/models/user_agent_data_operating_system_spec.rb +0 -60
- data/spec/models/user_agent_data_spec.rb +0 -78
- data/spec/models/user_agent_xml_data_array_spec.rb +0 -78
- data/spec/models/user_agent_xml_data_spec.rb +0 -78
- data/spec/spec_helper.rb +0 -111
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::LocationMinimal
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::LocationMinimal do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::LocationMinimal.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of LocationMinimal' do
|
|
24
|
-
it 'should create an instance of LocationMinimal' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::LocationMinimal)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "continent_code"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "continent_name"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "country_code2"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
describe 'test attribute "country_code3"' do
|
|
49
|
-
it 'should work' do
|
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
describe 'test attribute "country_name"' do
|
|
55
|
-
it 'should work' do
|
|
56
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
describe 'test attribute "country_name_official"' do
|
|
61
|
-
it 'should work' do
|
|
62
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
describe 'test attribute "country_capital"' do
|
|
67
|
-
it 'should work' do
|
|
68
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
-
end
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
describe 'test attribute "state_prov"' do
|
|
73
|
-
it 'should work' do
|
|
74
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
describe 'test attribute "state_code"' do
|
|
79
|
-
it 'should work' do
|
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
describe 'test attribute "district"' do
|
|
85
|
-
it 'should work' do
|
|
86
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
describe 'test attribute "city"' do
|
|
91
|
-
it 'should work' do
|
|
92
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
describe 'test attribute "zipcode"' do
|
|
97
|
-
it 'should work' do
|
|
98
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
-
end
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
describe 'test attribute "latitude"' do
|
|
103
|
-
it 'should work' do
|
|
104
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
describe 'test attribute "longitude"' do
|
|
109
|
-
it 'should work' do
|
|
110
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
describe 'test attribute "is_eu"' do
|
|
115
|
-
it 'should work' do
|
|
116
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
-
end
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
describe 'test attribute "country_flag"' do
|
|
121
|
-
it 'should work' do
|
|
122
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
-
end
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
describe 'test attribute "geoname_id"' do
|
|
127
|
-
it 'should work' do
|
|
128
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
-
end
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
describe 'test attribute "country_emoji"' do
|
|
133
|
-
it 'should work' do
|
|
134
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
-
end
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
end
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::Location
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::Location do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::Location.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of Location' do
|
|
24
|
-
it 'should create an instance of Location' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::Location)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "continent_code"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "continent_name"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "country_code2"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
describe 'test attribute "country_code3"' do
|
|
49
|
-
it 'should work' do
|
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
describe 'test attribute "country_name"' do
|
|
55
|
-
it 'should work' do
|
|
56
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
describe 'test attribute "country_name_official"' do
|
|
61
|
-
it 'should work' do
|
|
62
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
describe 'test attribute "country_capital"' do
|
|
67
|
-
it 'should work' do
|
|
68
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
-
end
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
describe 'test attribute "state_prov"' do
|
|
73
|
-
it 'should work' do
|
|
74
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
describe 'test attribute "state_code"' do
|
|
79
|
-
it 'should work' do
|
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
describe 'test attribute "district"' do
|
|
85
|
-
it 'should work' do
|
|
86
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
describe 'test attribute "city"' do
|
|
91
|
-
it 'should work' do
|
|
92
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
describe 'test attribute "zipcode"' do
|
|
97
|
-
it 'should work' do
|
|
98
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
-
end
|
|
100
|
-
end
|
|
101
|
-
|
|
102
|
-
describe 'test attribute "latitude"' do
|
|
103
|
-
it 'should work' do
|
|
104
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
describe 'test attribute "longitude"' do
|
|
109
|
-
it 'should work' do
|
|
110
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
describe 'test attribute "is_eu"' do
|
|
115
|
-
it 'should work' do
|
|
116
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
-
end
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
describe 'test attribute "country_flag"' do
|
|
121
|
-
it 'should work' do
|
|
122
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
-
end
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
describe 'test attribute "geoname_id"' do
|
|
127
|
-
it 'should work' do
|
|
128
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
129
|
-
end
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
describe 'test attribute "country_emoji"' do
|
|
133
|
-
it 'should work' do
|
|
134
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
135
|
-
end
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
describe 'test attribute "accuracy_radius"' do
|
|
139
|
-
it 'should work' do
|
|
140
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
-
end
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
describe 'test attribute "locality"' do
|
|
145
|
-
it 'should work' do
|
|
146
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
-
end
|
|
148
|
-
end
|
|
149
|
-
|
|
150
|
-
describe 'test attribute "dma_code"' do
|
|
151
|
-
it 'should work' do
|
|
152
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
153
|
-
end
|
|
154
|
-
end
|
|
155
|
-
|
|
156
|
-
end
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::NetworkAsn
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::NetworkAsn do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::NetworkAsn.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of NetworkAsn' do
|
|
24
|
-
it 'should create an instance of NetworkAsn' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::NetworkAsn)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "as_number"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "organization"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "country"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
describe 'test attribute "asn_name"' do
|
|
49
|
-
it 'should work' do
|
|
50
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
|
|
54
|
-
describe 'test attribute "type"' do
|
|
55
|
-
it 'should work' do
|
|
56
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
describe 'test attribute "domain"' do
|
|
61
|
-
it 'should work' do
|
|
62
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
describe 'test attribute "date_allocated"' do
|
|
67
|
-
it 'should work' do
|
|
68
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
-
end
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
describe 'test attribute "allocation_status"' do
|
|
73
|
-
it 'should work' do
|
|
74
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
-
end
|
|
76
|
-
end
|
|
77
|
-
|
|
78
|
-
describe 'test attribute "num_of_ipv4_routes"' do
|
|
79
|
-
it 'should work' do
|
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
describe 'test attribute "num_of_ipv6_routes"' do
|
|
85
|
-
it 'should work' do
|
|
86
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
-
end
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
describe 'test attribute "rir"' do
|
|
91
|
-
it 'should work' do
|
|
92
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
-
end
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
end
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::NetworkCompany
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::NetworkCompany do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::NetworkCompany.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of NetworkCompany' do
|
|
24
|
-
it 'should create an instance of NetworkCompany' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::NetworkCompany)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "name"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "type"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "domain"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
end
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::NetworkMinimalAsn
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::NetworkMinimalAsn do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::NetworkMinimalAsn.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of NetworkMinimalAsn' do
|
|
24
|
-
it 'should create an instance of NetworkMinimalAsn' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::NetworkMinimalAsn)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "as_number"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "organization"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "country"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::NetworkMinimalCompany
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::NetworkMinimalCompany do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::NetworkMinimalCompany.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of NetworkMinimalCompany' do
|
|
24
|
-
it 'should create an instance of NetworkMinimalCompany' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::NetworkMinimalCompany)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "name"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::NetworkMinimal
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::NetworkMinimal do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::NetworkMinimal.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of NetworkMinimal' do
|
|
24
|
-
it 'should create an instance of NetworkMinimal' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::NetworkMinimal)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "asn"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "company"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
end
|
data/spec/models/network_spec.rb
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::Network
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::Network do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::Network.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of Network' do
|
|
24
|
-
it 'should create an instance of Network' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::Network)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "asn"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "connection_type"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "company"' do
|
|
43
|
-
it 'should work' do
|
|
44
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::ParseBulkUserAgentStringsRequest
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::ParseBulkUserAgentStringsRequest do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::ParseBulkUserAgentStringsRequest.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of ParseBulkUserAgentStringsRequest' do
|
|
24
|
-
it 'should create an instance of ParseBulkUserAgentStringsRequest' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::ParseBulkUserAgentStringsRequest)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "ua_strings"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
=begin
|
|
2
|
-
#IPGeolocation.io - IP intelligence products
|
|
3
|
-
|
|
4
|
-
#Ipgeolocation provides a set of APIs to make ip based decisions.
|
|
5
|
-
|
|
6
|
-
The version of the OpenAPI document: 2.0
|
|
7
|
-
|
|
8
|
-
Generated by: https://openapi-generator.tech
|
|
9
|
-
Generator version: 7.13.0
|
|
10
|
-
|
|
11
|
-
=end
|
|
12
|
-
|
|
13
|
-
require 'spec_helper'
|
|
14
|
-
require 'json'
|
|
15
|
-
require 'date'
|
|
16
|
-
|
|
17
|
-
# Unit tests for IpgeolocationSdk::ParseUserAgentStringRequest
|
|
18
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
-
# Please update as you see appropriate
|
|
20
|
-
describe IpgeolocationSdk::ParseUserAgentStringRequest do
|
|
21
|
-
let(:instance) { IpgeolocationSdk::ParseUserAgentStringRequest.new }
|
|
22
|
-
|
|
23
|
-
describe 'test an instance of ParseUserAgentStringRequest' do
|
|
24
|
-
it 'should create an instance of ParseUserAgentStringRequest' do
|
|
25
|
-
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(IpgeolocationSdk::ParseUserAgentStringRequest)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
describe 'test attribute "ua_string"' do
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
end
|