Class: FabApi::Endpoints::InvalidateToken

Inherits:
FabApi::Endpoint show all
Includes:
PartnerApi::Endpoints::Initializer
Defined in:
lib/fab_api/endpoints/invalidate_token.rb

Instance Method Summary collapse

Methods included from PartnerApi::Endpoints::Initializer

prepended

Methods inherited from PartnerApi::Endpoints::Base

#call

Constructor Details

#initialize(partner_user_id:, access_token:, system:, transaction_id: Utils::Id.generate) ⇒ InvalidateToken

Returns a new instance of InvalidateToken.



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/fab_api/endpoints/invalidate_token.rb', line 9

def initialize(
  partner_user_id:,
  access_token:,
  system:,
  transaction_id: Utils::Id.generate
)
  @partner_user_id = partner_user_id
  @access_token = access_token
  @system = system
  @transaction_id = transaction_id
end