automation-test 1.15 → 1.16
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/README.md +5 -5
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/api_helper.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/client.rb +3 -3
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/configuration.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/asset_platforms_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/base_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/categories_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/coins_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/companies_beta_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/contract_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/derivatives_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/events_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/exchange_rates_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/exchanges_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/finance_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/global_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/indexes_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/ping_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/simple_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/status_updates_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/trending_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/exceptions/api_exception.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/http/faraday_client.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/http/http_call_back.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/http/http_client.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/http/http_method_enum.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/http/http_request.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/http/http_response.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/models/base_model.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/utilities/date_time_helper.rb +2 -2
- data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/utilities/file_wrapper.rb +2 -2
- data/lib/coin_gecko_apiv3.rb +52 -0
- data/test/controllers/controller_test_base.rb +3 -3
- data/test/controllers/test_asset_platforms_controller.rb +1 -1
- data/test/controllers/test_categories_controller.rb +1 -1
- data/test/controllers/test_coins_controller.rb +1 -1
- data/test/controllers/test_derivatives_controller.rb +1 -1
- data/test/controllers/test_events_controller.rb +1 -1
- data/test/controllers/test_exchange_rates_controller.rb +1 -1
- data/test/controllers/test_exchanges_controller.rb +1 -1
- data/test/controllers/test_finance_controller.rb +1 -1
- data/test/controllers/test_global_controller.rb +1 -1
- data/test/controllers/test_indexes_controller.rb +1 -1
- data/test/controllers/test_ping_controller.rb +1 -1
- data/test/controllers/test_simple_controller.rb +1 -1
- data/test/controllers/test_status_updates_controller.rb +1 -1
- data/test/controllers/test_trending_controller.rb +1 -1
- data/test/http_response_catcher.rb +2 -2
- data/test/test_helper.rb +1 -1
- metadata +33 -33
- data/lib/coin_gecko_apiv3_testing.rb +0 -56
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d515e3f8f6c01ec5e8e22e62432d8cfe1a5142bdf782d7a12e1a41eb5eebd72b
|
4
|
+
data.tar.gz: af1350759b2f998d080a32e0116f88e02a3d273ae1b03fde6d6815696f7a7dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d694b11602bb6820aac4377f52f2c46b171c9fa8b8b1ba6c23a1c7c15a05a0b69d06fecf6f1e5dfe3466273fc0ce106d17d5c30bd9174ddc1fbcfa35f0a4bfb7
|
7
|
+
data.tar.gz: 57b18acf6504bd2a4c3a99a204a1c5d702600cf145bc14e05c40b4990ab9484de112bde15c1a8f2ba55e167bdd99ecaaa022f810875b009864c4e084c123b3c1
|
data/README.md
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
|
2
|
-
# Getting Started with CoinGecko API V3
|
2
|
+
# Getting Started with CoinGecko API V3
|
3
3
|
|
4
4
|
## Install the Package
|
5
5
|
|
6
6
|
Install the gem from the command line:
|
7
7
|
|
8
8
|
```ruby
|
9
|
-
gem install automation-test -v 1.
|
9
|
+
gem install automation-test -v 1.16
|
10
10
|
```
|
11
11
|
|
12
12
|
Or add the gem to your Gemfile and run `bundle`:
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
gem 'automation-test', '1.
|
15
|
+
gem 'automation-test', '1.16'
|
16
16
|
```
|
17
17
|
|
18
|
-
For additional gem details, see the [RubyGems page for the automation-test gem](https://rubygems.org/gems/automation-test/versions/1.
|
18
|
+
For additional gem details, see the [RubyGems page for the automation-test gem](https://rubygems.org/gems/automation-test/versions/1.16).
|
19
19
|
|
20
20
|
## Test the SDK
|
21
21
|
|
@@ -43,7 +43,7 @@ The following parameters are configurable for the API Client:
|
|
43
43
|
The API client can be initialized as follows:
|
44
44
|
|
45
45
|
```ruby
|
46
|
-
client =
|
46
|
+
client = CoinGeckoApiv3::Client.new(
|
47
47
|
)
|
48
48
|
```
|
49
49
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# API utility class
|
8
8
|
class APIHelper
|
9
9
|
# Serializes an array parameter (creates key value pairs).
|
@@ -1,10 +1,10 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
7
|
-
#
|
6
|
+
module CoinGeckoApiv3
|
7
|
+
# coin_gecko_apiv3 client class.
|
8
8
|
class Client
|
9
9
|
attr_reader :config
|
10
10
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# An enum for SDK environments.
|
8
8
|
class Environment
|
9
9
|
ENVIRONMENT = [
|
data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/asset_platforms_controller.rb
RENAMED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# AssetPlatformsController
|
8
8
|
class AssetPlatformsController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# BaseController.
|
8
8
|
class BaseController
|
9
9
|
attr_accessor :config, :http_call_back
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# CategoriesController
|
8
8
|
class CategoriesController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# CoinsController
|
8
8
|
class CoinsController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/companies_beta_controller.rb
RENAMED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# CompaniesBetaController
|
8
8
|
class CompaniesBetaController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# ContractController
|
8
8
|
class ContractController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/derivatives_controller.rb
RENAMED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# DerivativesController
|
8
8
|
class DerivativesController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# EventsController
|
8
8
|
class EventsController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/exchange_rates_controller.rb
RENAMED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# ExchangeRatesController
|
8
8
|
class ExchangeRatesController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# ExchangesController
|
8
8
|
class ExchangesController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# FinanceController
|
8
8
|
class FinanceController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# GlobalController
|
8
8
|
class GlobalController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# IndexesController
|
8
8
|
class IndexesController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# PingController
|
8
8
|
class PingController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# SimpleController
|
8
8
|
class SimpleController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
data/lib/{coin_gecko_apiv3_testing → coin_gecko_apiv3}/controllers/status_updates_controller.rb
RENAMED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# StatusUpdatesController
|
8
8
|
class StatusUpdatesController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# TrendingController
|
8
8
|
class TrendingController < BaseController
|
9
9
|
def initialize(config, http_call_back: nil)
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# Class for exceptions when there is a network error, status code error, etc.
|
8
8
|
class APIException < StandardError
|
9
9
|
attr_reader :response, :response_code
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
@@ -6,7 +6,7 @@
|
|
6
6
|
require 'faraday/http_cache'
|
7
7
|
require 'faraday_middleware'
|
8
8
|
|
9
|
-
module
|
9
|
+
module CoinGeckoApiv3
|
10
10
|
# An implementation of HttpClient.
|
11
11
|
class FaradayClient < HttpClient
|
12
12
|
# The constructor.
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# HttpCallBack allows defining callables for pre and post API calls.
|
8
8
|
class HttpCallBack
|
9
9
|
# A controller will call this method before making an HTTP Request.
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# An interface for the methods that an HTTP Client must implement.
|
8
8
|
#
|
9
9
|
# This class should not be instantiated but should be used as a base class
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# HTTP Methods Enumeration.
|
8
8
|
class HttpMethodEnum
|
9
9
|
HTTPMETHODENUM = [GET = 'GET'.freeze, POST = 'POST'.freeze,
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# Represents a single Http Request.
|
8
8
|
class HttpRequest
|
9
9
|
attr_accessor :http_method, :query_url, :headers,
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# Http response received.
|
8
8
|
class HttpResponse
|
9
9
|
attr_reader :status_code, :reason_phrase, :headers, :raw_body, :request
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# Base model.
|
8
8
|
class BaseModel
|
9
9
|
# Returns a Hash representation of the current object.
|
@@ -1,10 +1,10 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
6
|
require 'date'
|
7
|
-
module
|
7
|
+
module CoinGeckoApiv3
|
8
8
|
# A utility that supports dateTime conversion to different formats
|
9
9
|
class DateTimeHelper
|
10
10
|
# Safely converts a DateTime object into a rfc1123 format string
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
module
|
6
|
+
module CoinGeckoApiv3
|
7
7
|
# A utility to allow users to set the content-type for files
|
8
8
|
class FileWrapper
|
9
9
|
attr_reader :content_type, :file
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# coin_gecko_apiv3
|
2
|
+
#
|
3
|
+
# This file was automatically generated by APIMATIC v2.0
|
4
|
+
# ( https://apimatic.io ).
|
5
|
+
|
6
|
+
require 'date'
|
7
|
+
require 'json'
|
8
|
+
require 'faraday'
|
9
|
+
require 'certifi'
|
10
|
+
require 'logging'
|
11
|
+
|
12
|
+
require_relative 'coin_gecko_apiv3/api_helper'
|
13
|
+
require_relative 'coin_gecko_apiv3/client'
|
14
|
+
|
15
|
+
# Utilities
|
16
|
+
require_relative 'coin_gecko_apiv3/utilities/file_wrapper'
|
17
|
+
require_relative 'coin_gecko_apiv3/utilities/date_time_helper'
|
18
|
+
|
19
|
+
# Http
|
20
|
+
require_relative 'coin_gecko_apiv3/http/http_call_back'
|
21
|
+
require_relative 'coin_gecko_apiv3/http/http_client'
|
22
|
+
require_relative 'coin_gecko_apiv3/http/faraday_client'
|
23
|
+
require_relative 'coin_gecko_apiv3/http/http_method_enum'
|
24
|
+
require_relative 'coin_gecko_apiv3/http/http_request'
|
25
|
+
require_relative 'coin_gecko_apiv3/http/http_response'
|
26
|
+
|
27
|
+
# Models
|
28
|
+
require_relative 'coin_gecko_apiv3/models/base_model'
|
29
|
+
|
30
|
+
# Exceptions
|
31
|
+
require_relative 'coin_gecko_apiv3/exceptions/api_exception'
|
32
|
+
|
33
|
+
require_relative 'coin_gecko_apiv3/configuration'
|
34
|
+
|
35
|
+
# Controllers
|
36
|
+
require_relative 'coin_gecko_apiv3/controllers/base_controller'
|
37
|
+
require_relative 'coin_gecko_apiv3/controllers/ping_controller'
|
38
|
+
require_relative 'coin_gecko_apiv3/controllers/simple_controller'
|
39
|
+
require_relative 'coin_gecko_apiv3/controllers/coins_controller'
|
40
|
+
require_relative 'coin_gecko_apiv3/controllers/contract_controller'
|
41
|
+
require_relative 'coin_gecko_apiv3/controllers/asset_platforms_controller'
|
42
|
+
require_relative 'coin_gecko_apiv3/controllers/categories_controller'
|
43
|
+
require_relative 'coin_gecko_apiv3/controllers/exchanges_controller'
|
44
|
+
require_relative 'coin_gecko_apiv3/controllers/finance_controller'
|
45
|
+
require_relative 'coin_gecko_apiv3/controllers/indexes_controller'
|
46
|
+
require_relative 'coin_gecko_apiv3/controllers/derivatives_controller'
|
47
|
+
require_relative 'coin_gecko_apiv3/controllers/status_updates_controller'
|
48
|
+
require_relative 'coin_gecko_apiv3/controllers/events_controller'
|
49
|
+
require_relative 'coin_gecko_apiv3/controllers/exchange_rates_controller'
|
50
|
+
require_relative 'coin_gecko_apiv3/controllers/trending_controller'
|
51
|
+
require_relative 'coin_gecko_apiv3/controllers/global_controller'
|
52
|
+
require_relative 'coin_gecko_apiv3/controllers/companies_beta_controller'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
@@ -8,13 +8,13 @@ require 'minitest/autorun'
|
|
8
8
|
require 'minitest/hell'
|
9
9
|
require 'minitest/pride'
|
10
10
|
require 'minitest/proveit'
|
11
|
-
require '
|
11
|
+
require 'coin_gecko_apiv3'
|
12
12
|
require_relative '../test_helper'
|
13
13
|
require_relative '../http_response_catcher'
|
14
14
|
|
15
15
|
class ControllerTestBase < Minitest::Test
|
16
16
|
parallelize_me!
|
17
|
-
include
|
17
|
+
include CoinGeckoApiv3
|
18
18
|
|
19
19
|
# Create configuration and set any test parameters
|
20
20
|
CONFIG = Configuration.new
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# coin_gecko_apiv3
|
2
2
|
#
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
|
-
class HttpResponseCatcher <
|
6
|
+
class HttpResponseCatcher < CoinGeckoApiv3::HttpCallBack
|
7
7
|
attr_accessor :response
|
8
8
|
|
9
9
|
def on_before_request(request)
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: automation-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.16'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- APIMatic SDK Generator
|
@@ -134,37 +134,37 @@ extra_rdoc_files: []
|
|
134
134
|
files:
|
135
135
|
- LICENSE
|
136
136
|
- README.md
|
137
|
-
- lib/
|
138
|
-
- lib/
|
139
|
-
- lib/
|
140
|
-
- lib/
|
141
|
-
- lib/
|
142
|
-
- lib/
|
143
|
-
- lib/
|
144
|
-
- lib/
|
145
|
-
- lib/
|
146
|
-
- lib/
|
147
|
-
- lib/
|
148
|
-
- lib/
|
149
|
-
- lib/
|
150
|
-
- lib/
|
151
|
-
- lib/
|
152
|
-
- lib/
|
153
|
-
- lib/
|
154
|
-
- lib/
|
155
|
-
- lib/
|
156
|
-
- lib/
|
157
|
-
- lib/
|
158
|
-
- lib/
|
159
|
-
- lib/
|
160
|
-
- lib/
|
161
|
-
- lib/
|
162
|
-
- lib/
|
163
|
-
- lib/
|
164
|
-
- lib/
|
165
|
-
- lib/
|
166
|
-
- lib/
|
167
|
-
- lib/
|
137
|
+
- lib/coin_gecko_apiv3.rb
|
138
|
+
- lib/coin_gecko_apiv3/api_helper.rb
|
139
|
+
- lib/coin_gecko_apiv3/client.rb
|
140
|
+
- lib/coin_gecko_apiv3/configuration.rb
|
141
|
+
- lib/coin_gecko_apiv3/controllers/asset_platforms_controller.rb
|
142
|
+
- lib/coin_gecko_apiv3/controllers/base_controller.rb
|
143
|
+
- lib/coin_gecko_apiv3/controllers/categories_controller.rb
|
144
|
+
- lib/coin_gecko_apiv3/controllers/coins_controller.rb
|
145
|
+
- lib/coin_gecko_apiv3/controllers/companies_beta_controller.rb
|
146
|
+
- lib/coin_gecko_apiv3/controllers/contract_controller.rb
|
147
|
+
- lib/coin_gecko_apiv3/controllers/derivatives_controller.rb
|
148
|
+
- lib/coin_gecko_apiv3/controllers/events_controller.rb
|
149
|
+
- lib/coin_gecko_apiv3/controllers/exchange_rates_controller.rb
|
150
|
+
- lib/coin_gecko_apiv3/controllers/exchanges_controller.rb
|
151
|
+
- lib/coin_gecko_apiv3/controllers/finance_controller.rb
|
152
|
+
- lib/coin_gecko_apiv3/controllers/global_controller.rb
|
153
|
+
- lib/coin_gecko_apiv3/controllers/indexes_controller.rb
|
154
|
+
- lib/coin_gecko_apiv3/controllers/ping_controller.rb
|
155
|
+
- lib/coin_gecko_apiv3/controllers/simple_controller.rb
|
156
|
+
- lib/coin_gecko_apiv3/controllers/status_updates_controller.rb
|
157
|
+
- lib/coin_gecko_apiv3/controllers/trending_controller.rb
|
158
|
+
- lib/coin_gecko_apiv3/exceptions/api_exception.rb
|
159
|
+
- lib/coin_gecko_apiv3/http/faraday_client.rb
|
160
|
+
- lib/coin_gecko_apiv3/http/http_call_back.rb
|
161
|
+
- lib/coin_gecko_apiv3/http/http_client.rb
|
162
|
+
- lib/coin_gecko_apiv3/http/http_method_enum.rb
|
163
|
+
- lib/coin_gecko_apiv3/http/http_request.rb
|
164
|
+
- lib/coin_gecko_apiv3/http/http_response.rb
|
165
|
+
- lib/coin_gecko_apiv3/models/base_model.rb
|
166
|
+
- lib/coin_gecko_apiv3/utilities/date_time_helper.rb
|
167
|
+
- lib/coin_gecko_apiv3/utilities/file_wrapper.rb
|
168
168
|
- test/controllers/controller_test_base.rb
|
169
169
|
- test/controllers/test_asset_platforms_controller.rb
|
170
170
|
- test/controllers/test_categories_controller.rb
|
@@ -208,5 +208,5 @@ rubyforge_project:
|
|
208
208
|
rubygems_version: 2.7.6
|
209
209
|
signing_key:
|
210
210
|
specification_version: 4
|
211
|
-
summary:
|
211
|
+
summary: coin_gecko_apiv3
|
212
212
|
test_files: []
|
@@ -1,56 +0,0 @@
|
|
1
|
-
# coin_gecko_apiv3_testing
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
require 'date'
|
7
|
-
require 'json'
|
8
|
-
require 'faraday'
|
9
|
-
require 'certifi'
|
10
|
-
require 'logging'
|
11
|
-
|
12
|
-
require_relative 'coin_gecko_apiv3_testing/api_helper'
|
13
|
-
require_relative 'coin_gecko_apiv3_testing/client'
|
14
|
-
|
15
|
-
# Utilities
|
16
|
-
require_relative 'coin_gecko_apiv3_testing/utilities/file_wrapper'
|
17
|
-
require_relative 'coin_gecko_apiv3_testing/utilities/date_time_helper'
|
18
|
-
|
19
|
-
# Http
|
20
|
-
require_relative 'coin_gecko_apiv3_testing/http/http_call_back'
|
21
|
-
require_relative 'coin_gecko_apiv3_testing/http/http_client'
|
22
|
-
require_relative 'coin_gecko_apiv3_testing/http/faraday_client'
|
23
|
-
require_relative 'coin_gecko_apiv3_testing/http/http_method_enum'
|
24
|
-
require_relative 'coin_gecko_apiv3_testing/http/http_request'
|
25
|
-
require_relative 'coin_gecko_apiv3_testing/http/http_response'
|
26
|
-
|
27
|
-
# Models
|
28
|
-
require_relative 'coin_gecko_apiv3_testing/models/base_model'
|
29
|
-
|
30
|
-
# Exceptions
|
31
|
-
require_relative 'coin_gecko_apiv3_testing/exceptions/api_exception'
|
32
|
-
|
33
|
-
require_relative 'coin_gecko_apiv3_testing/configuration'
|
34
|
-
|
35
|
-
# Controllers
|
36
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/base_controller'
|
37
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/ping_controller'
|
38
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/simple_controller'
|
39
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/coins_controller'
|
40
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/contract_controller'
|
41
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/asset_platforms' \
|
42
|
-
'_controller'
|
43
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/categories_controller'
|
44
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/exchanges_controller'
|
45
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/finance_controller'
|
46
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/indexes_controller'
|
47
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/derivatives_controller'
|
48
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/status_updates' \
|
49
|
-
'_controller'
|
50
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/events_controller'
|
51
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/exchange_rates' \
|
52
|
-
'_controller'
|
53
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/trending_controller'
|
54
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/global_controller'
|
55
|
-
require_relative 'coin_gecko_apiv3_testing/controllers/companies_beta' \
|
56
|
-
'_controller'
|