Module: Venmo::Pay

Included in:
Venmo
Defined in:
lib/venmo/pay.rb

Instance Method Summary collapse

Instance Method Details

#pay_by_email(email, amount, note) ⇒ Object



3
4
5
6
7
# File 'lib/venmo/pay.rb', line 3

def pay_by_email(email, amount, note)
  # -d email=    @send_hash= common(amount,note, { :email => email})
  core_pay
end

#pay_by_phone_number(phone_number, amount, note) ⇒ Object



15
16
17
18
19
# File 'lib/venmo/pay.rb', line 15

def pay_by_phone_number(phone_number, amount, note)
  # -d phone=    @send_hash = common(amount,note, {:phone_number=> phone_number})
  core_pay
end

#pay_by_user_id(user_id, amount, note) ⇒ Object



9
10
11
12
13
# File 'lib/venmo/pay.rb', line 9

def pay_by_user_id(user_id, amount, note)
  # -d user_id=    @send_hash= common(amount,note, {:user_id => user_id})
  core_pay
end