Class: FestivityMarketPage
- Inherits:
-
FestivityBasePage
- Object
- Page
- FestivityBasePage
- FestivityMarketPage
- Includes:
- Concerns::FestivityArtistMethods
- Defined in:
- app/models/festivity_market_page.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Concerns::FestivityArtistMethods
#has_facebook?, #has_homepage?, #has_instagram?, #has_social?, #has_twitter?
Methods inherited from FestivityBasePage
#body, #sponsor_logo, #sponsor_logo?, #video, #video?
Class Method Details
.booth_number(market_id) ⇒ Object
10 11 12 |
# File 'app/models/festivity_market_page.rb', line 10 def self.booth_number(market_id) self.find_by_id(market_id).booth_number end |
Instance Method Details
#area ⇒ Object
6 7 8 |
# File 'app/models/festivity_market_page.rb', line 6 def area FestivityLocationAreaPage.find(area_id) end |