Sha256: 12ba3a3d7f2538fe992f74b1053d1adce8e3fed0693a56b2f8229dbba62fd941
Contents?: true
Size: 391 Bytes
Versions: 18
Compression:
Stored size: 391 Bytes
Contents
require 'support/protobuf/author.pb' ## # Define a generic class that inherits from active remote base # class Author < ::ActiveRemote::Base service_class ::Generic::Remote::AuthorService attribute :guid attribute :name has_many :posts has_many :flagged_posts, :class_name => "::Post" has_many :bestseller_posts, :class_name => "::Post", :foreign_key => :bestseller_guid end
Version data entries
18 entries across 18 versions & 1 rubygems