Sha256: 037f4cafe0b3344a697fde59fdb5af85817d4682803434801782811c8d6cb73c

Contents?: true

Size: 374 Bytes

Versions: 11

Compression:

Stored size: 374 Bytes

Contents

module Braintree
  class TransactionReview
    include BaseModule

    attr_reader :transaction_id, :decision, :reviewer_email, :reviewer_note, :reviewer_time

    def initialize(attributes)
      set_instance_variables_from_hash(attributes)
    end

    class << self
      protected :new
      def _new(*args) # :nodoc:
        self.new(*args)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
braintree-4.15.0 lib/braintree/transaction_review.rb
braintree-4.14.0 lib/braintree/transaction_review.rb
braintree-4.13.0 lib/braintree/transaction_review.rb
braintree-4.12.0 lib/braintree/transaction_review.rb
braintree-4.11.0 lib/braintree/transaction_review.rb
braintree-4.10.0 lib/braintree/transaction_review.rb
braintree-4.9.0 lib/braintree/transaction_review.rb
braintree-4.8.0 lib/braintree/transaction_review.rb
braintree-4.7.0 lib/braintree/transaction_review.rb
braintree-4.6.0 lib/braintree/transaction_review.rb
braintree-4.5.0 lib/braintree/transaction_review.rb