Sha256: b0474f79f60391b2f46f80c6d828c6eb412fd9303f4cee40440e9571504178fb

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 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

end

Version data entries

1 entries across 1 versions & 1 rubygems

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