Displaying 1 result from an estimated 1 matches for "card_expiration_d".
Did you mean:
card_expiration
2007 Jan 27
0
Interchanging ActiveRecord and ActionWebService... Help with my problem and suggestions for Best Practices.
...hod :make_credit_card_payment,
:expects => [{:contract_id => :int},
{:amount => :float},
{:card_type => :string},
{:card_number => :string},
{:card_verification_code => :string},
{:card_expiration_date => :date}
],
:returns => [:string]
def make_payment(contract_payment)
puts contract_payment.inspect
end
end
class TestController < ApplicationController
def handle_payment
if (@contract_payment.valid?)
# ActiveRecord - Works!
# @cont...