Class: Airwallex::AccountAmendment
- Inherits:
-
APIResource
- Object
- APIResource
- Airwallex::AccountAmendment
- Defined in:
- lib/airwallex/resources/account_amendment.rb
Overview
Represents an amendment to whichever account the request is authenticated as (the platform's own account, or a connected account via x-on-behalf-of). Not nested under /accounts/Airwallex::APIResource#id — scoped implicitly by auth context, same as ConnectedAccount.current.
.create requires Admin-level API key permissions, a separate tier from the normal per-resource Read/Write scopes.
Instance Attribute Summary
Attributes inherited from APIResource
Class Method Summary collapse
-
.resource_path ⇒ String
API resource path for account amendments.
Methods included from Airwallex::APIOperations::Create
Methods included from Airwallex::APIOperations::Retrieve
Methods inherited from APIResource
#changed_attributes, #dirty?, #initialize, #inspect, #method_missing, #refresh, #refresh_from, resource_name, #respond_to_missing?, #to_hash, #to_json, #to_s
Constructor Details
This class inherits a constructor from Airwallex::APIResource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Airwallex::APIResource
Class Method Details
.resource_path ⇒ String
Returns API resource path for account amendments.
25 26 27 |
# File 'lib/airwallex/resources/account_amendment.rb', line 25 def self.resource_path "/api/v1/account/amendments" end |