Class: WestpacApi::Endpoints::FetchUser
- Inherits:
-
WestpacApi::Endpoint
- Object
- PartnerApi::Endpoints::Base
- WestpacApi::Endpoint
- WestpacApi::Endpoints::FetchUser
- Includes:
- PartnerApi::Endpoints::Initializer
- Defined in:
- lib/westpac_api/endpoints/fetch_user.rb
Instance Method Summary collapse
-
#initialize(user_id:, context_reference_id:, correlation_id: SecureRandom.uuid, message_id: SecureRandom.uuid) ⇒ FetchUser
constructor
A new instance of FetchUser.
Methods included from PartnerApi::Endpoints::Initializer
Methods inherited from PartnerApi::Endpoints::Base
Constructor Details
#initialize(user_id:, context_reference_id:, correlation_id: SecureRandom.uuid, message_id: SecureRandom.uuid) ⇒ FetchUser
Returns a new instance of FetchUser.
8 9 10 11 12 13 |
# File 'lib/westpac_api/endpoints/fetch_user.rb', line 8 def initialize(user_id:, context_reference_id:, correlation_id: SecureRandom.uuid, message_id: SecureRandom.uuid) @user_id = user_id @context_reference_id = context_reference_id @correlation_id = correlation_id @message_id = end |