Class: SignIn::AcrTranslator

Inherits:
Object
  • Object
show all
Defined in:
app/services/sign_in/acr_translator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#acrObject (readonly)

Returns the value of attribute acr.



5
6
7
# File 'app/services/sign_in/acr_translator.rb', line 5

def acr
  @acr
end

#typeObject (readonly)

Returns the value of attribute type.



5
6
7
# File 'app/services/sign_in/acr_translator.rb', line 5

def type
  @type
end

#uplevelObject (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

#performObject



13
14
15
# File 'app/services/sign_in/acr_translator.rb', line 13

def perform
  translate_acr
end