Class: SignIn::AcrTranslator
- Inherits:
-
Object
- Object
- SignIn::AcrTranslator
- Defined in:
- app/services/sign_in/acr_translator.rb
Instance Attribute Summary collapse
-
#acr ⇒ Object
readonly
Returns the value of attribute acr.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#uplevel ⇒ Object
readonly
Returns the value of attribute uplevel.
Instance Method Summary collapse
-
#initialize(acr:, type:, uplevel: false) ⇒ AcrTranslator
constructor
A new instance of AcrTranslator.
- #perform ⇒ Object
Constructor Details
#initialize(acr:, type:, uplevel: false) ⇒ AcrTranslator
Returns a new instance of AcrTranslator.
7 8 9 10 11 |
# File 'app/services/sign_in/acr_translator.rb', line 7 def initialize(acr:, type:, uplevel: false) @acr = acr @type = type @uplevel = uplevel end |
Instance Attribute Details
#acr ⇒ Object (readonly)
Returns the value of attribute acr.
5 6 7 |
# File 'app/services/sign_in/acr_translator.rb', line 5 def acr @acr end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'app/services/sign_in/acr_translator.rb', line 5 def type @type end |
#uplevel ⇒ Object (readonly)
Returns the value of attribute uplevel.
5 6 7 |
# File 'app/services/sign_in/acr_translator.rb', line 5 def uplevel @uplevel end |
Instance Method Details
#perform ⇒ Object
13 14 15 |
# File 'app/services/sign_in/acr_translator.rb', line 13 def perform translate_acr end |