Sha256: f58db992b7c308f8f9f3a017b651cb9d9554ef07924851ab0699e7df8f02ead9

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

module FbGraph2
  class Payment < Node
    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

1 entries across 1 versions & 1 rubygems

Version Path
fb_graph2-0.0.6 lib/fb_graph2/payment.rb