Class: Avo::DiscreetInformation
- Inherits:
-
Object
- Object
- Avo::DiscreetInformation
- Extended by:
- PropInitializer::Properties
- Includes:
- ActionView::Helpers::TagHelper
- Defined in:
- lib/avo/discreet_information.rb
Defined Under Namespace
Classes: DiscreetInformationItem
Instance Method Summary collapse
Instance Method Details
#items ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/avo/discreet_information.rb', line 9 def items Array.wrap(resource.class.discreet_information).map do |item| if item == :timestamps (item) else parse_payload(item) end end end |