Class: BinanceClient::SubAccountDepositAddressResponse

Inherits:
BaseResponse
  • Object
show all
Defined in:
lib/binance_client/responses/sub_account_deposit_address_response.rb

Instance Method Summary collapse

Methods inherited from BaseResponse

#body_code, #default_message, #used_weights

Instance Method Details

#deposit_addressObject



4
5
6
7
8
9
10
11
# File 'lib/binance_client/responses/sub_account_deposit_address_response.rb', line 4

def deposit_address
  DepositAddress.new(
    address: body["address"],
    coin: body["coin"],
    tag: body["tag"],
    url: body["url"],
  )
end