Class: Spree::LogEntry
- Inherits:
-
Object
- Object
- Spree::LogEntry
- Includes:
- Security::LogEntries
- Defined in:
- app/models/spree/log_entry.rb
Instance Method Summary collapse
Instance Method Details
#parsed_details ⇒ Object
19 20 21 22 23 24 25 26 27 28 |
# File 'app/models/spree/log_entry.rb', line 19 def parsed_details @details ||= YAML.safe_load( details, permitted_classes: [ Spree::PaymentResponse, ActiveSupport::HashWithIndifferentAccess, (ActiveMerchant::Billing::Response if defined?(ActiveMerchant::Billing::Response)) ].compact ) end |