Exception: NemID::Errors::OCES002Error

Inherits:
OCESError show all
Defined in:
lib/nemid/errors/oces.rb

Instance Attribute Summary

Attributes inherited from ResponseError

#da, #en

Instance Method Summary collapse

Constructor Details

#initializeOCES002Error

Returns a new instance of OCES002Error.



23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/nemid/errors/oces.rb', line 23

def initialize
  @da = "Ønsker du at bruge NemID til andet end netbank, skal du først " \
  "tilknytte en offentlig digital signatur. Det kan du gøre ved at lave en " \
  "almindelig NemID bestilling. " \
  "Bestil NemID [https://service.nemid.nu/dk-da/bestil_nemid/]."
  @en = "If you wish to use NemID for other services than online banking, " \
  "you have to affiliate a public digital signature to your NemID. " \
  "You can do this by starting the regular NemID order flow, which will " \
  "then order the needed public digital signature. " \
  "Request NemID [https://service.nemid.nu/dk-da/bestil_nemid/]"
  super
end