Class: BtcPay::Client::Helpers::ApiKeys::Authorize
- Inherits:
-
Object
- Object
- BtcPay::Client::Helpers::ApiKeys::Authorize
- Defined in:
- lib/btcpay/client/helpers/api_keys.rb
Constant Summary collapse
- PATH =
'/api-keys/authorize'
Instance Method Summary collapse
- #html(**opts) ⇒ Object
-
#initialize(client:) ⇒ Authorize
constructor
A new instance of Authorize.
- #link(**opts) ⇒ Object
Constructor Details
#initialize(client:) ⇒ Authorize
Returns a new instance of Authorize.
16 17 18 19 |
# File 'lib/btcpay/client/helpers/api_keys.rb', line 16 def initialize(client:) @client = client @logger = @client.logger end |
Instance Method Details
#html(**opts) ⇒ Object
21 22 23 |
# File 'lib/btcpay/client/helpers/api_keys.rb', line 21 def html(**opts) get(**opts) end |
#link(**opts) ⇒ Object
25 26 27 |
# File 'lib/btcpay/client/helpers/api_keys.rb', line 25 def link(**opts) get(skip_request: true, **opts) end |