Class: KeycloakOauth::PutExecuteActionsEmailService
- Inherits:
-
AuthorizableService
- Object
- AuthorizableService
- KeycloakOauth::PutExecuteActionsEmailService
- Defined in:
- app/services/keycloak_oauth/put_execute_actions_email_service.rb
Constant Summary collapse
- SUPPORTED_QUERY_PARAMS =
%i(client_id lifespan redirect_uri)
Constants inherited from AuthorizableService
AuthorizableService::AUTHORIZATION_HEADER, AuthorizableService::CONTENT_TYPE_JSON, AuthorizableService::CONTENT_TYPE_X_WWW_FORM_URLENCODED, AuthorizableService::HTTP_SUCCESS_CODES
Instance Attribute Summary collapse
-
#actions ⇒ Object
readonly
Returns the value of attribute actions.
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Attributes inherited from AuthorizableService
#http_response, #parsed_response_body
Instance Method Summary collapse
-
#initialize(connection: KeycloakOauth.connection, access_token:, refresh_token:, user_id:, actions:, options: {}) ⇒ PutExecuteActionsEmailService
constructor
A new instance of PutExecuteActionsEmailService.
- #send_request ⇒ Object
Methods inherited from AuthorizableService
#perform, uri_with_supported_query_params
Constructor Details
#initialize(connection: KeycloakOauth.connection, access_token:, refresh_token:, user_id:, actions:, options: {}) ⇒ PutExecuteActionsEmailService
Returns a new instance of PutExecuteActionsEmailService.
9 10 11 12 13 14 15 16 |
# File 'app/services/keycloak_oauth/put_execute_actions_email_service.rb', line 9 def initialize(connection: KeycloakOauth.connection, access_token:, refresh_token:, user_id:, actions:, options: {}) @connection = connection @access_token = access_token @refresh_token = refresh_token @user_id = user_id @actions = actions @options = end |
Instance Attribute Details
#actions ⇒ Object (readonly)
Returns the value of attribute actions.
7 8 9 |
# File 'app/services/keycloak_oauth/put_execute_actions_email_service.rb', line 7 def actions @actions end |
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
7 8 9 |
# File 'app/services/keycloak_oauth/put_execute_actions_email_service.rb', line 7 def connection @connection end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'app/services/keycloak_oauth/put_execute_actions_email_service.rb', line 7 def @options end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
7 8 9 |
# File 'app/services/keycloak_oauth/put_execute_actions_email_service.rb', line 7 def user_id @user_id end |
Instance Method Details
#send_request ⇒ Object
18 19 20 |
# File 'app/services/keycloak_oauth/put_execute_actions_email_service.rb', line 18 def send_request put_execute_actions_email end |