Class: FabApi::Endpoints::RefreshToken
- Inherits:
-
FabApi::Endpoint
- Object
- PartnerApi::Endpoints::Base
- FabApi::Endpoint
- FabApi::Endpoints::RefreshToken
- Includes:
- PartnerApi::Endpoints::Initializer
- Defined in:
- lib/fab_api/endpoints/refresh_token.rb
Instance Method Summary collapse
-
#initialize(access_token:, refresh_token:, system:, transaction_id: Utils::Id.generate, new_token_flag: true) ⇒ RefreshToken
constructor
A new instance of RefreshToken.
Methods included from PartnerApi::Endpoints::Initializer
Methods inherited from PartnerApi::Endpoints::Base
Constructor Details
#initialize(access_token:, refresh_token:, system:, transaction_id: Utils::Id.generate, new_token_flag: true) ⇒ RefreshToken
Returns a new instance of RefreshToken.
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/fab_api/endpoints/refresh_token.rb', line 9 def initialize( access_token:, refresh_token:, system:, transaction_id: Utils::Id.generate, new_token_flag: true ) @access_token = access_token @refresh_token = refresh_token @system = system @transaction_id = transaction_id @new_token_flag = new_token_flag end |