Sha256: c869a493767caeb74c516e22064d08baef9472751ddd3592cb9067135aefa139
Contents?: true
Size: 844 Bytes
Versions: 5
Compression:
Stored size: 844 Bytes
Contents
module ActiveMerchant module Billing module Integrations module Citrus autoload :Helper, File.dirname(__FILE__) + '/citrus/helper.rb' autoload :Notification, File.dirname(__FILE__) + '/citrus/notification.rb' autoload :Return, File.dirname(__FILE__) + '/citrus/return.rb' def self.helper(order, account, options = {}) Helper.new(order, account, options) end def self.notification(post, options = {}) Notification.new(post, options) end def self.return(query_string, options = {}) Return.new(query_string, options) end def self.checksum(secret_key, payload_items ) digest = OpenSSL::Digest.new('sha1') OpenSSL::HMAC.hexdigest(digest, secret_key, payload_items) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems