class BtcPay::Client::Api::Users
Constants
- PATH
Public Instance Methods
create(payload, **opts)
click to toggle source
@see docs.btcpayserver.org/API/Greenfield/v1/#tag/Users/paths/~1api~1v1~1users/post
# File lib/btcpay/client/api/users.rb, line 17 def create(payload, **opts) client.post(path, payload: payload, options: opts) end
me(**opts)
click to toggle source
@see docs.btcpayserver.org/API/Greenfield/v1/#operation/Users_GetCurrentUser
# File lib/btcpay/client/api/users.rb, line 10 def me(**opts) client.get(path('me'), options: opts) end
Also aliased as: get
Protected Instance Methods
set_base_path()
click to toggle source
# File lib/btcpay/client/api/users.rb, line 23 def set_base_path @base_path = PATH end