automation-test 1.14 → 1.15
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 → coin_gecko_apiv3_testing}/api_helper.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/client.rb +3 -3
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/configuration.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/asset_platforms_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/base_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/categories_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/coins_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/companies_beta_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/contract_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/derivatives_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/events_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/exchange_rates_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/exchanges_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/finance_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/global_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/indexes_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/ping_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/simple_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/status_updates_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/trending_controller.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/exceptions/api_exception.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/http/faraday_client.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/http/http_call_back.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/http/http_client.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/http/http_method_enum.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/http/http_request.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/http/http_response.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/models/base_model.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/utilities/date_time_helper.rb +2 -2
- data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/utilities/file_wrapper.rb +2 -2
- data/lib/coin_gecko_apiv3_testing.rb +56 -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 +34 -34
- data/lib/coin_gecko_apiv3.rb +0 -52
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1bd3dae41bbadf850ee42e18be5fa480822e4550d494203ae0246d45b0c07ade
|
|
4
|
+
data.tar.gz: 9de0395ce1f264e3ec0a4ff9480a1f4445057d81c9858ee77593dabc477a9bf3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a4b7f429564d1a7792926b46cce716a83aec8d7f2265a34257e52445836b2086d2105e1897fe7071b9c0a06ffd0f607a19d22ad94e3e5aa66eeb83e4c7ed840
|
|
7
|
+
data.tar.gz: 05fccaa40ad79c4dfbf600b21a6a87636cbecd034aa8a22404931308ac322bc91fc4119d6f664038b92de27bd6196f5e125826b1390dce998108223150fd48b9
|
data/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
# Getting Started with CoinGecko API V3
|
|
2
|
+
# Getting Started with CoinGecko API V3 - testing
|
|
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.15
|
|
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.15'
|
|
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.15).
|
|
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 = CoinGeckoApiv3Testing::Client.new(
|
|
47
47
|
)
|
|
48
48
|
```
|
|
49
49
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
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 CoinGeckoApiv3Testing
|
|
7
|
+
# coin_gecko_apiv3_testing client class.
|
|
8
8
|
class Client
|
|
9
9
|
attr_reader :config
|
|
10
10
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
7
7
|
# An enum for SDK environments.
|
|
8
8
|
class Environment
|
|
9
9
|
ENVIRONMENT = [
|
data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/asset_platforms_controller.rb
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
7
7
|
# BaseController.
|
|
8
8
|
class BaseController
|
|
9
9
|
attr_accessor :config, :http_call_back
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
7
7
|
# CoinsController
|
|
8
8
|
class CoinsController < BaseController
|
|
9
9
|
def initialize(config, http_call_back: nil)
|
data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/companies_beta_controller.rb
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
7
7
|
# ContractController
|
|
8
8
|
class ContractController < BaseController
|
|
9
9
|
def initialize(config, http_call_back: nil)
|
data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/derivatives_controller.rb
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
7
7
|
# EventsController
|
|
8
8
|
class EventsController < BaseController
|
|
9
9
|
def initialize(config, http_call_back: nil)
|
data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/exchange_rates_controller.rb
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
7
7
|
# SimpleController
|
|
8
8
|
class SimpleController < BaseController
|
|
9
9
|
def initialize(config, http_call_back: nil)
|
data/lib/{coin_gecko_apiv3 → coin_gecko_apiv3_testing}/controllers/status_updates_controller.rb
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
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 CoinGeckoApiv3Testing
|
|
10
10
|
# An implementation of HttpClient.
|
|
11
11
|
class FaradayClient < HttpClient
|
|
12
12
|
# The constructor.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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_testing
|
|
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 CoinGeckoApiv3Testing
|
|
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_testing
|
|
2
2
|
#
|
|
3
3
|
# This file was automatically generated by APIMATIC v2.0
|
|
4
4
|
# ( https://apimatic.io ).
|
|
5
5
|
|
|
6
|
-
module
|
|
6
|
+
module CoinGeckoApiv3Testing
|
|
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,56 @@
|
|
|
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'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# coin_gecko_apiv3_testing
|
|
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_testing'
|
|
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 CoinGeckoApiv3Testing
|
|
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_testing
|
|
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 < CoinGeckoApiv3Testing::HttpCallBack
|
|
7
7
|
attr_accessor :response
|
|
8
8
|
|
|
9
9
|
def on_before_request(request)
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: automation-test
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.15'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- APIMatic SDK Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-10-
|
|
11
|
+
date: 2021-10-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logging
|
|
@@ -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_testing.rb
|
|
138
|
+
- lib/coin_gecko_apiv3_testing/api_helper.rb
|
|
139
|
+
- lib/coin_gecko_apiv3_testing/client.rb
|
|
140
|
+
- lib/coin_gecko_apiv3_testing/configuration.rb
|
|
141
|
+
- lib/coin_gecko_apiv3_testing/controllers/asset_platforms_controller.rb
|
|
142
|
+
- lib/coin_gecko_apiv3_testing/controllers/base_controller.rb
|
|
143
|
+
- lib/coin_gecko_apiv3_testing/controllers/categories_controller.rb
|
|
144
|
+
- lib/coin_gecko_apiv3_testing/controllers/coins_controller.rb
|
|
145
|
+
- lib/coin_gecko_apiv3_testing/controllers/companies_beta_controller.rb
|
|
146
|
+
- lib/coin_gecko_apiv3_testing/controllers/contract_controller.rb
|
|
147
|
+
- lib/coin_gecko_apiv3_testing/controllers/derivatives_controller.rb
|
|
148
|
+
- lib/coin_gecko_apiv3_testing/controllers/events_controller.rb
|
|
149
|
+
- lib/coin_gecko_apiv3_testing/controllers/exchange_rates_controller.rb
|
|
150
|
+
- lib/coin_gecko_apiv3_testing/controllers/exchanges_controller.rb
|
|
151
|
+
- lib/coin_gecko_apiv3_testing/controllers/finance_controller.rb
|
|
152
|
+
- lib/coin_gecko_apiv3_testing/controllers/global_controller.rb
|
|
153
|
+
- lib/coin_gecko_apiv3_testing/controllers/indexes_controller.rb
|
|
154
|
+
- lib/coin_gecko_apiv3_testing/controllers/ping_controller.rb
|
|
155
|
+
- lib/coin_gecko_apiv3_testing/controllers/simple_controller.rb
|
|
156
|
+
- lib/coin_gecko_apiv3_testing/controllers/status_updates_controller.rb
|
|
157
|
+
- lib/coin_gecko_apiv3_testing/controllers/trending_controller.rb
|
|
158
|
+
- lib/coin_gecko_apiv3_testing/exceptions/api_exception.rb
|
|
159
|
+
- lib/coin_gecko_apiv3_testing/http/faraday_client.rb
|
|
160
|
+
- lib/coin_gecko_apiv3_testing/http/http_call_back.rb
|
|
161
|
+
- lib/coin_gecko_apiv3_testing/http/http_client.rb
|
|
162
|
+
- lib/coin_gecko_apiv3_testing/http/http_method_enum.rb
|
|
163
|
+
- lib/coin_gecko_apiv3_testing/http/http_request.rb
|
|
164
|
+
- lib/coin_gecko_apiv3_testing/http/http_response.rb
|
|
165
|
+
- lib/coin_gecko_apiv3_testing/models/base_model.rb
|
|
166
|
+
- lib/coin_gecko_apiv3_testing/utilities/date_time_helper.rb
|
|
167
|
+
- lib/coin_gecko_apiv3_testing/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_testing
|
|
212
212
|
test_files: []
|
data/lib/coin_gecko_apiv3.rb
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
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'
|