module Kucoin::Rest::Private::User

Public Instance Methods

user_info(options: {}) click to toggle source
# File lib/kucoin/rest/private/user.rb, line 6
def user_info(options: {})
  options.merge!(authenticate: true)
  response = get("/user/info", options: options)&.fetch("data", {})
  ::Kucoin::Models::User.new(response) if response
end