lib/braintree/dispute/evidence.rb in braintree-2.85.0 vs lib/braintree/dispute/evidence.rb in braintree-2.86.0
- old
+ new
@@ -1,20 +1,21 @@
module Braintree
class Dispute
class Evidence # :nodoc:
include BaseModule
- attr_reader :comment,
+ attr_reader :category,
+ :comment,
:created_at,
:id,
:sent_to_processor_at,
:url,
:tag,
:sequence_number
def initialize(attributes)
unless attributes.nil?
- @tag = attributes.delete(:category)
+ @tag = attributes[:category]
set_instance_variables_from_hash attributes
end
@sent_to_processor_at = Date.parse(sent_to_processor_at) unless sent_to_processor_at.nil?
end
end