coinmarketcap_client 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -9
- data/docs/{Info.md → CryptocurrencyInfo.md} +2 -2
- data/docs/{InfoUrls.md → CryptocurrencyInfoUrls.md} +1 -1
- data/docs/{MarketData.md → CryptocurrencyListings.md} +1 -1
- data/docs/{Map.md → CryptocurrencyMap.md} +1 -1
- data/docs/DefaultApi.md +146 -22
- data/docs/GlobalMetricsHistoricalQuote.md +10 -0
- data/docs/GlobalMetricsQuote.md +10 -0
- data/docs/GlobalMetricsQuotesHistorical.md +10 -0
- data/docs/GlobalMetricsQuotesLatest.md +14 -0
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2004Data.md +8 -0
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +9 -0
- data/docs/InlineResponse2007.md +9 -0
- data/docs/InlineResponse2008.md +9 -0
- data/docs/InlineResponse2009.md +9 -0
- data/docs/Quote.md +1 -1
- data/lib/coinmarketcap_client.rb +13 -4
- data/lib/coinmarketcap_client/api/default_api.rb +150 -26
- data/lib/coinmarketcap_client/models/{info.rb → cryptocurrency_info.rb} +2 -2
- data/lib/coinmarketcap_client/models/{info_urls.rb → cryptocurrency_info_urls.rb} +1 -1
- data/lib/coinmarketcap_client/models/{market_data.rb → cryptocurrency_listings.rb} +1 -1
- data/lib/coinmarketcap_client/models/{map.rb → cryptocurrency_map.rb} +1 -1
- data/lib/coinmarketcap_client/models/global_metrics_historical_quote.rb +202 -0
- data/lib/coinmarketcap_client/models/global_metrics_quote.rb +202 -0
- data/lib/{coinmarketcap_api/models/inline_response_200_3.rb → coinmarketcap_client/models/global_metrics_quotes_historical.rb} +30 -11
- data/lib/{coinmarketcap_api/models/map.rb → coinmarketcap_client/models/global_metrics_quotes_latest.rb} +49 -55
- data/lib/coinmarketcap_client/models/inline_response_200.rb +1 -1
- data/lib/coinmarketcap_client/models/inline_response_200_1.rb +1 -1
- data/lib/coinmarketcap_client/models/inline_response_200_2.rb +1 -1
- data/lib/coinmarketcap_client/models/inline_response_200_3.rb +2 -4
- data/lib/coinmarketcap_client/models/inline_response_200_4.rb +2 -4
- data/lib/{coinmarketcap_api/models/inline_response_200_1.rb → coinmarketcap_client/models/inline_response_200_4_data.rb} +11 -11
- data/lib/coinmarketcap_client/models/inline_response_200_5.rb +1 -1
- data/lib/{coinmarketcap_api/models/inline_response_200_2.rb → coinmarketcap_client/models/inline_response_200_6.rb} +5 -5
- data/lib/{coinmarketcap_api/models/inline_response_200.rb → coinmarketcap_client/models/inline_response_200_7.rb} +4 -4
- data/lib/{coinmarketcap_api/models/inline_response_default_1.rb → coinmarketcap_client/models/inline_response_200_8.rb} +13 -4
- data/lib/{coinmarketcap_api/models/inline_response_default.rb → coinmarketcap_client/models/inline_response_200_9.rb} +13 -4
- data/lib/coinmarketcap_client/models/quote.rb +1 -1
- data/lib/coinmarketcap_client/version.rb +1 -1
- data/spec/api/default_api_spec.rb +71 -6
- data/spec/api_client_spec.rb +29 -29
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/{info_spec.rb → cryptocurrency_info_spec.rb} +6 -6
- data/spec/models/{info_urls_spec.rb → cryptocurrency_info_urls_spec.rb} +6 -6
- data/spec/models/{market_data_spec.rb → cryptocurrency_listings_spec.rb} +6 -6
- data/spec/models/{map_spec.rb → cryptocurrency_map_spec.rb} +6 -6
- data/spec/models/global_metrics_historical_quote_spec.rb +53 -0
- data/spec/models/global_metrics_quote_spec.rb +53 -0
- data/spec/models/global_metrics_quotes_historical_spec.rb +53 -0
- data/spec/models/global_metrics_quotes_latest_spec.rb +77 -0
- data/spec/models/inline_response_200_1_spec.rb +9 -3
- data/spec/models/inline_response_200_2_spec.rb +3 -3
- data/spec/models/inline_response_200_3_spec.rb +9 -3
- data/spec/models/inline_response_200_4_data_spec.rb +41 -0
- data/spec/models/inline_response_200_4_spec.rb +3 -3
- data/spec/models/inline_response_200_5_spec.rb +3 -3
- data/spec/models/inline_response_200_6_spec.rb +47 -0
- data/spec/models/inline_response_200_7_spec.rb +47 -0
- data/spec/models/inline_response_200_8_spec.rb +47 -0
- data/spec/models/inline_response_200_9_spec.rb +47 -0
- data/spec/models/inline_response_200_spec.rb +3 -3
- data/spec/models/inline_response_default_1_spec.rb +3 -3
- data/spec/models/inline_response_default_spec.rb +3 -3
- data/spec/models/platform_spec.rb +3 -3
- data/spec/models/quote_spec.rb +3 -3
- data/spec/models/status_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- metadata +54 -34
- data/lib/coinmarketcap_api.rb +0 -50
- data/lib/coinmarketcap_api/api/default_api.rb +0 -145
- data/lib/coinmarketcap_api/api_client.rb +0 -389
- data/lib/coinmarketcap_api/api_error.rb +0 -38
- data/lib/coinmarketcap_api/configuration.rb +0 -209
- data/lib/coinmarketcap_api/models/info.rb +0 -276
- data/lib/coinmarketcap_api/models/info_urls.rb +0 -263
- data/lib/coinmarketcap_api/models/status.rb +0 -219
- data/lib/coinmarketcap_api/version.rb +0 -15
@@ -0,0 +1,77 @@
|
|
1
|
+
=begin
|
2
|
+
#Coinmarketcap API Swagger Implementation
|
3
|
+
|
4
|
+
#Define coinmarketcap's api in swagger 2.0 openapi standard
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CoinmarketcapClient::GlobalMetricsQuotesLatest
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'GlobalMetricsQuotesLatest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CoinmarketcapClient::GlobalMetricsQuotesLatest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of GlobalMetricsQuotesLatest' do
|
31
|
+
it 'should create an instance of GlobalMetricsQuotesLatest' do
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::GlobalMetricsQuotesLatest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "btc_dominance"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "eth_dominance"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "active_cryptocurrencies"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "active_market_pairs"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "active_exchanges"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "last_updated"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "quote"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2001
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'InlineResponse2001' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2001.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'InlineResponse2001' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of InlineResponse2001' do
|
31
31
|
it 'should create an instance of InlineResponse2001' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2001)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "data"' do
|
@@ -38,4 +38,10 @@ describe 'InlineResponse2001' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "status"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
end
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2002
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'InlineResponse2002' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2002.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'InlineResponse2002' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of InlineResponse2002' do
|
31
31
|
it 'should create an instance of InlineResponse2002' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2002)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "data"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2003
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'InlineResponse2003' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2003.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'InlineResponse2003' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of InlineResponse2003' do
|
31
31
|
it 'should create an instance of InlineResponse2003' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2003)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "data"' do
|
@@ -38,4 +38,10 @@ describe 'InlineResponse2003' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "status"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Coinmarketcap API Swagger Implementation
|
3
|
+
|
4
|
+
#Define coinmarketcap's api in swagger 2.0 openapi standard
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2004Data
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2004Data' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2004Data.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2004Data' do
|
31
|
+
it 'should create an instance of InlineResponse2004Data' do
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2004Data)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "quote"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2004
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'InlineResponse2004' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2004.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'InlineResponse2004' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of InlineResponse2004' do
|
31
31
|
it 'should create an instance of InlineResponse2004' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2004)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "data"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2005
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'InlineResponse2005' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2005.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'InlineResponse2005' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of InlineResponse2005' do
|
31
31
|
it 'should create an instance of InlineResponse2005' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2005)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "data"' do
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Coinmarketcap API Swagger Implementation
|
3
|
+
|
4
|
+
#Define coinmarketcap's api in swagger 2.0 openapi standard
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2006
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2006' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2006.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2006' do
|
31
|
+
it 'should create an instance of InlineResponse2006' do
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2006)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "data"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "status"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Coinmarketcap API Swagger Implementation
|
3
|
+
|
4
|
+
#Define coinmarketcap's api in swagger 2.0 openapi standard
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2007
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2007' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2007.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2007' do
|
31
|
+
it 'should create an instance of InlineResponse2007' do
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2007)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "data"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "status"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Coinmarketcap API Swagger Implementation
|
3
|
+
|
4
|
+
#Define coinmarketcap's api in swagger 2.0 openapi standard
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2008
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2008' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2008.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2008' do
|
31
|
+
it 'should create an instance of InlineResponse2008' do
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2008)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "data"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "status"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Coinmarketcap API Swagger Implementation
|
3
|
+
|
4
|
+
#Define coinmarketcap's api in swagger 2.0 openapi standard
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.4
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CoinmarketcapClient::InlineResponse2009
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2009' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CoinmarketcapClient::InlineResponse2009.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2009' do
|
31
|
+
it 'should create an instance of InlineResponse2009' do
|
32
|
+
expect(@instance).to be_instance_of(CoinmarketcapClient::InlineResponse2009)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "data"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "status"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|