Sha256: 3bf9c2f57831a944e492f3065d06aedef472e8044d3cd0a6bc2c331e2c8d8e87

Contents?: true

Size: 269 Bytes

Versions: 2

Compression:

Stored size: 269 Bytes

Contents

# -*- encoding : utf-8 -*-
module OpenPayU
  module Models
    class Card < Model
      attr_accessor :number, :expiration_month, :expiration_year, :CVV,
        :cardholder
      validates :number, :expiration_month, :expiration_year, presence: true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openpayu-0.1.2 lib/openpayu/models/card.rb
openpayu-0.0.2 lib/openpayu/models/card.rb