Sha256: 57cd52e7306d1e986d8ba7138aa767aa2ecf8985b513a3cb9807c3f1440c5935

Contents?: true

Size: 1.71 KB

Versions: 1299

Compression:

Stored size: 1.71 KB

Contents

# CybridApiBank::SymbolsBankApi

All URIs are relative to *https://bank.sandbox.cybrid.app*

| Method | HTTP request | Description |
| ------ | ------------ | ----------- |
| [**list_symbols**](SymbolsBankApi.md#list_symbols) | **GET** /api/symbols | Get Symbols list |


## list_symbols

> Array<String> list_symbols

Get Symbols list

Retrieves a listing of symbols.

### Examples

```ruby
require 'time'
require 'cybrid_api_bank_ruby'
# setup authorization
CybridApiBank.configure do |config|
  # Configure Bearer authorization (JWT): BearerAuth
  config.access_token = 'YOUR_BEARER_TOKEN'

  # Configure OAuth2 access token for authorization: oauth2
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = CybridApiBank::SymbolsBankApi.new

begin
  # Get Symbols list
  result = api_instance.list_symbols
  p result
rescue CybridApiBank::ApiError => e
  puts "Error when calling SymbolsBankApi->list_symbols: #{e}"
end
```

#### Using the list_symbols_with_http_info variant

This returns an Array which contains the response data, status code and headers.

> <Array(Array&lt;String&gt;, Integer, Hash)> list_symbols_with_http_info

```ruby
begin
  # Get Symbols list
  data, status_code, headers = api_instance.list_symbols_with_http_info
  p status_code # => 2xx
  p headers # => { ... }
  p data # => Array&lt;String&gt;
rescue CybridApiBank::ApiError => e
  puts "Error when calling SymbolsBankApi->list_symbols_with_http_info: #{e}"
end
```

### Parameters

This endpoint does not need any parameter.

### Return type

**Array&lt;String&gt;**

### Authorization

[BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

Version data entries

1,299 entries across 1,299 versions & 1 rubygems

Version Path
cybrid_api_bank_ruby-0.123.137 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.135 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.134 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.132 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.131 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.129 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.127 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.126 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.125 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.124 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.123 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.122 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.121 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.120 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.119 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.118 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.117 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.116 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.115 docs/SymbolsBankApi.md
cybrid_api_bank_ruby-0.123.114 docs/SymbolsBankApi.md