Class: Orange::SiteCarton

Inherits:
Carton
  • Object
show all
Defined in:
lib/orange-more/administration/cartons/site_carton.rb

Overview

Defines a carton that belongs to a specific site. (Subclasses should be sure to call super if they override init, since it is what defines the relationship)

Direct Known Subclasses

OrangePage, OrangePageVersion, OrangeRoute

Class Method Summary collapse

Methods inherited from Carton

asset

Class Method Details

.initObject



8
9
10
# File 'lib/orange-more/administration/cartons/site_carton.rb', line 8

def self.init
  belongs_to :orange_site
end