Class: Spree::Adyen::Presenters::Communications::LogEntry
- Inherits:
-
Base
- Object
- SimpleDelegator
- Base
- Spree::Adyen::Presenters::Communications::LogEntry
show all
- Defined in:
- app/models/spree/adyen/presenters/communications/log_entry.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#created_at_s, #css_class, #present_fields, #to_model, #to_partial_path
Class Method Details
.applicable?(obj) ⇒ Boolean
21
22
23
|
# File 'app/models/spree/adyen/presenters/communications/log_entry.rb', line 21
def self.applicable? obj
obj.is_a? Spree::LogEntry
end
|
Instance Method Details
#fields ⇒ Object
16
17
18
19
|
# File 'app/models/spree/adyen/presenters/communications/log_entry.rb', line 16
def fields
{ message: message
}
end
|
#inbound? ⇒ Boolean
12
13
14
|
# File 'app/models/spree/adyen/presenters/communications/log_entry.rb', line 12
def inbound?
false
end
|
#processed? ⇒ Boolean
8
9
10
|
# File 'app/models/spree/adyen/presenters/communications/log_entry.rb', line 8
def processed?
true
end
|