Class: BtcPay::Client::Api::Users
- Inherits:
-
Base
show all
- Defined in:
- lib/btcpay/client/api/users.rb
Constant Summary
collapse
- PATH =
'/users'
Instance Method Summary
collapse
Methods inherited from Service
#initialize
Instance Method Details
#create(payload, **opts) ⇒ Object
17
18
19
|
# File 'lib/btcpay/client/api/users.rb', line 17
def create(payload, **opts)
client.post(path, payload: payload, options: opts)
end
|
#me(**opts) ⇒ Object
Also known as:
get
10
11
12
|
# File 'lib/btcpay/client/api/users.rb', line 10
def me(**opts)
client.get(path('me'), options: opts)
end
|