module Workarea::GiftCards

Constants

VERSION

Public Class Methods

gateway() click to toggle source
# File lib/workarea/gift_cards.rb, line 7
def self.gateway
  Workarea.config.gateways.gift_card.constantize.new
end
uses_system_cards?() click to toggle source
# File lib/workarea/gift_cards.rb, line 11
def self.uses_system_cards?
  Workarea::GiftCards.gateway.respond_to?(:uses_system_cards?) &&
    Workarea::GiftCards.gateway.uses_system_cards?
end