From 1ea1847e54fac27388f69fa53ff364f58729718c Mon Sep 17 00:00:00 2001 From: Vladislav Volkov Date: Wed, 29 Jan 2020 13:30:26 +0300 Subject: [PATCH] add aff_code to fix problem with RESTv2 work --- lib/rest/v2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rest/v2.rb b/lib/rest/v2.rb index 29102cf..ff0f2be 100644 --- a/lib/rest/v2.rb +++ b/lib/rest/v2.rb @@ -14,7 +14,7 @@ module Bitfinex class RESTv2 attr_accessor :api_endpoint, :debug, :debug_connection, :api_version attr_accessor :rest_timeout, :rest_open_timeout, :proxy - attr_accessor :api_key, :api_secret + attr_accessor :api_key, :api_secret, :aff_code include Bitfinex::RESTClient include Bitfinex::RESTv2Margin