Sha256: 56d4b200cb40d2be089d852343148247594c77ee775da4d97daab1c48a222ca8

Contents?: true

Size: 981 Bytes

Versions: 3

Compression:

Stored size: 981 Bytes

Contents

package <%= base_package %>.models.constant
{
	public class Resource
	{
		/**
     	 *	This is a list of all the Resource types you have in you application
		 *	I have created this so we don't have to have 50 different events with the same
		 *	6 types.  Now we have one event, a ResourceEvent, and you pass it a Resource.TYPE
		 *	This allows us to abstract a lot of the data management from the subclasses.
     	 */
		
		public static const MESSAGE:String = "messageResource";

		public static const CONTENT:String = "contentResource";
		public static const CONTENT_ASSIGNMENT:String = "contentAssignmentResource";
		public static const ASSET:String = "assetResource";
		public static const ASSET_ASSIGNMENT:String = "assetAssignmentResource";
		
		public static const SESSION:String = "sessionResource";
		public static const USER:String = "userResource";
		public static const ACCOUNT:String = "accountResource";
		public static const ADDRESS:String = "addressResource";

	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emergent-core-0.1.0 rails_generators/emergent_config/templates/app/flex/application/models/constant/Resource.as
emergent-core-0.1.02 rails_generators/emergent_config/templates/app/flex/application/models/constant/Resource.as
emergent-core-0.1.01 rails_generators/emergent_config/templates/app/flex/application/models/constant/Resource.as