Sha256: b0d3d5cbff70c6c2b70d15d62a6f6bd5905e96af091dc7f732db6d891cfffa43

Contents?: true

Size: 465 Bytes

Versions: 2

Compression:

Stored size: 465 Bytes

Contents

module Braintree
  class AuthorizationAdjustment # :nodoc:
    include BaseModule

    attr_reader :amount
    attr_reader :success
    attr_reader :timestamp
    attr_reader :processor_response_code
    attr_reader :processor_response_text

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

    def initialize(attributes) # :nodoc:
      set_instance_variables_from_hash(attributes)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
braintree-2.91.0 lib/braintree/authorization_adjustment.rb
braintree-2.90.0 lib/braintree/authorization_adjustment.rb