Class: FbGraph2::Payment

Inherits:
Node
  • Object
show all
Includes:
Edge::Dispute, Edge::Refunds
Defined in:
lib/fb_graph2/payment.rb

Instance Attribute Summary

Attributes inherited from Node

#access_token, #id

Instance Method Summary collapse

Methods included from Edge::Refunds

#refund!

Methods included from Edge::Dispute

#dispute!

Methods inherited from Node

#authenticate, #destroy, #edge, #edges, #fetch, #update

Methods included from AttributeAssigner

#assign

Constructor Details

#initialize(id, attributes = {}) ⇒ Payment

Returns a new instance of Payment.



14
15
16
17
# File 'lib/fb_graph2/payment.rb', line 14

def initialize(id, attributes = {})
  super
  # TODO: handle custom attributes.
end