Sha256: 53e86e435c6c04322c092feec81d6e46146863a171f550df680226bd017b390d
Contents?: true
Size: 392 Bytes
Versions: 1
Compression:
Stored size: 392 Bytes
Contents
module DCA module Mock class Page < DCA::Models::BaseModel has_many :positions, ExtPosition, :selector => 'li' end class PageExt < DCA::Models::BaseModel attr_accessor :category has_many :positions, :selector => 'li', polymorphic: :category, append: true, parser: :positions_parser def positions_parser items items end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dca-0.1.1 | spec/mock/page.rb |