Sha256: af3a65489e2757706c416faf783ef7bc3ac1fa82cff9ffd65786e67ec6828bac

Contents?: true

Size: 227 Bytes

Versions: 9

Compression:

Stored size: 227 Bytes

Contents

module RubyPsigate
  module CreditCardMethods
    
    attr_reader :cc
    
    def cc=(credit_card)
      raise InvalidCreditCard unless credit_card.is_a?(RubyPsigate::CreditCard)
      @cc = credit_card
    end
    
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby_psigate-0.7.8 lib/ruby_psigate/credit_card_methods.rb
ruby_psigate-0.7.7 lib/ruby_psigate/credit_card_methods.rb
ruby_psigate-0.7.6 lib/ruby_psigate/credit_card_methods.rb
ruby_psigate-0.7.5 lib/ruby_psigate/credit_card_methods.rb
ruby_psigate-0.7.4 lib/ruby_psigate/credit_card_methods.rb
ruby_psigate-0.7.3 lib/ruby_psigate/credit_card_methods.rb
ruby_psigate-0.7.2 lib/ruby_psigate/credit_card_methods.rb
ruby_psigate-0.7.1 lib/ruby_psigate/credit_card_methods.rb
ruby_psigate-0.7 lib/ruby_psigate/credit_card_methods.rb