Class: OmniAuth::Strategies::Nordea::Message

Inherits:
Object
  • Object
show all
Defined in:
lib/omniauth/strategies/nordea/message.rb

Direct Known Subclasses

Request, Response

Constant Summary collapse

ALGORITHM_NAMES =
{ "01" => :md5, "02" => :sha1 }

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Message

Returns a new instance of Message.



10
11
12
# File 'lib/omniauth/strategies/nordea/message.rb', line 10

def initialize(hash)
  @hash = hash
end

Instance Method Details

#each_pair(&block) ⇒ Object



18
19
20
# File 'lib/omniauth/strategies/nordea/message.rb', line 18

def each_pair(&block)
  @hash.each_pair(&block)
end

#to_hashObject



14
15
16
# File 'lib/omniauth/strategies/nordea/message.rb', line 14

def to_hash
  @hash
end