Class: StraddlePay::Resources::AccountSettings
- Defined in:
- lib/straddle_pay/resources/account_settings.rb
Overview
Retrieve account settings.
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
-
#get(account_id, **options) ⇒ Hash
Get resolved settings for an account.
Methods inherited from Base
Constructor Details
This class inherits a constructor from StraddlePay::Resources::Base
Instance Method Details
#get(account_id, **options) ⇒ Hash
Get resolved settings for an account.
12 13 14 15 |
# File 'lib/straddle_pay/resources/account_settings.rb', line 12 def get(account_id, **) headers = extract_headers() @client.get("v1/account_settings/#{account_id}", headers: headers) end |