module EpsRapid
Constants
- VERSION
Attributes
api_key[RW]
base_path[RW]
language[RW]
secret_key[RW]
Public Class Methods
auth_header()
click to toggle source
# File lib/eps-rapid.rb, line 24 def auth_header timestamp = Time.now.to_i to_be_hashed = "#{api_key}#{secret_key}#{timestamp}" signature = Digest::SHA2.new(512).hexdigest(to_be_hashed) "EAN apikey=#{api_key},signature=#{signature},timestamp=#{timestamp}" end
configure() { |self| ... }
click to toggle source
# File lib/eps-rapid.rb, line 20 def configure yield(self) end