Sha256: 97ee2f5795a23a79c3d36c8b9e65677631a27c2e907203f0d9211f210eda4daf

Contents?: true

Size: 259 Bytes

Versions: 2

Compression:

Stored size: 259 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
  attribute :name

  belongs_to :post

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_remote-1.3.0 spec/support/models/category.rb
active_remote-1.2.1 spec/support/models/category.rb