Sha256: 27560c4b7db4fbcd15c68d3fa8848ccf50ad1cc27a37d2aafe0031b722d1bd21
Contents?: true
Size: 583 Bytes
Versions: 11
Compression:
Stored size: 583 Bytes
Contents
require "support/protobuf/category.pb" ## # Define a generic class that inherits from active remote base # class Category < ::ActiveRemote::Base service_class ::Generic::Remote::CategoryService attribute :guid, :string attribute :user_guid, :string attribute :chief_editor_guid, :string has_many :posts has_one :author has_one :senior_author, :class_name => "::Author" has_one :primary_editor, :class_name => "::Author", :foreign_key => :editor_guid has_one :chief_editor, :class_name => "::Author", :scope => :user_guid, :foreign_key => :chief_editor_guid end
Version data entries
11 entries across 11 versions & 1 rubygems