Exception: NemID::Errors::OCES001Error

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

#initializeOCES001Error

Returns a new instance of OCES001Error.



10
11
12
13
14
15
16
17
18
19
# File 'lib/nemid/errors/oces.rb', line 10

def initialize
  @da = "Du har kun NemID til netbank. Ønsker du at bruge NemID til andre " \
  "hjemmesider, skal du tilknytte en offentlig digital signatur til dit NemID. " \
  "[https://service.nemid.nu/dk-da/bestil_nemid/bestil_offentlig_digital_signatur_til_dit_nemid/]."
  @en = "You only have NemID for online banking. If you wish to use NemID for " \
  "other public or private services, you must affiliate a public digital " \
  "signature to your NemID " \
  "[https://service.nemid.nu/dk-da/bestil_nemid/bestil_offentlig_digital_signatur_til_dit_nemid/]"
  super
end