class PayuAPI::BuildSignature

Public Instance Methods

call() click to toggle source
# File lib/payu_api/build_signature.rb, line 8
def call
  signature = Digest::MD5.hexdigest("#{body}#{second_key}")
  "sender=checkout;signature=#{signature};algorithm=MD5;content=DOCUMENT"
end