Sha256: 24d396b11913d74951ffbea44834e0c737c6e198e3d0fe7513a0225f721dbe0c

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 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"

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_remote-1.3.0 spec/support/models/author.rb