module Ravelin
  class PreTransaction < RavelinObject
    attr_accessor :transaction_id,
      :email,
      :currency,
      :debit,
      :credit,
      :gateway,
      :custom

    attr_required :transaction_id, :currency, :debit, :credit, :gateway
  end
end

module Ravelin
  class PreTransaction < RavelinObject
    attr_accessor :transaction_id,
      :email,
      :currency,
      :debit,
      :credit,
      :gateway,
      :type,
      :time,
      :custom

    attr_required :transaction_id, :currency, :debit, :credit, :gateway
  end
end

Add missing fields to Pretransaction Object
Add missing fields to Pretransaction Object

type and time are valid pretransition attributes
as can be seen on Ravelin API docs
https://developer.ravelin.com/#post-/v2/pretransaction
