Sha256: a130a154d922d1198d8d1ff7d06550efdeadbeb6f7ef8c04660caf58ac67b931

Contents?: true

Size: 479 Bytes

Versions: 43

Compression:

Stored size: 479 Bytes

Contents

module FbGraph2
  class Payment < Node
    include Edge::Dispute
    include Edge::Refunds

    register_attributes(
      raw: [:product, :quantity, :request_id, :country, :created_time, :payout_foreign_exchange_rate, :test],
      time: [:created_time, :updated_time],
      user: [:user],
      app: [:application],
      custom: [:actions, :items, :disputes]
    )

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

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
fb_graph2-1.3.0 lib/fb_graph2/payment.rb
fb_graph2-1.2.0 lib/fb_graph2/payment.rb
fb_graph2-1.1.1 lib/fb_graph2/payment.rb
fb_graph2-1.1.0 lib/fb_graph2/payment.rb
fb_graph2-1.0.1 lib/fb_graph2/payment.rb
fb_graph2-1.0.0 lib/fb_graph2/payment.rb
fb_graph2-0.9.1 lib/fb_graph2/payment.rb
fb_graph2-0.9.0 lib/fb_graph2/payment.rb
fb_graph2-0.8.0 lib/fb_graph2/payment.rb
fb_graph2-0.7.9 lib/fb_graph2/payment.rb
fb_graph2-0.7.8 lib/fb_graph2/payment.rb
fb_graph2-0.7.7 lib/fb_graph2/payment.rb
fb_graph2-0.7.6 lib/fb_graph2/payment.rb
fb_graph2-0.7.5 lib/fb_graph2/payment.rb
fb_graph2-0.7.4 lib/fb_graph2/payment.rb
fb_graph2-0.7.3 lib/fb_graph2/payment.rb
fb_graph2-0.7.2 lib/fb_graph2/payment.rb
fb_graph2-0.7.1 lib/fb_graph2/payment.rb
fb_graph2-0.7.0 lib/fb_graph2/payment.rb
fb_graph2-0.6.2 lib/fb_graph2/payment.rb