Module: FbGraph2::Edge::PaymentTransactions

Included in:
User
Defined in:
lib/fb_graph2/edge/payment_transactions.rb

Instance Method Summary collapse

Instance Method Details

#payment_transactions(params = {}) ⇒ Object



4
5
6
7
8
9
# File 'lib/fb_graph2/edge/payment_transactions.rb', line 4

def payment_transactions(params = {})
  payments = self.edge :payment_transactions, params
  payments.collect! do |payment|
    Payment.new(payment[:id], payment).authenticate self.access_token
  end
end