Sha256: a22a4b5c89b80f129e53a1a31e208a1f4f815e98f781ca224c4373de96196ee7

Contents?: true

Size: 325 Bytes

Versions: 18

Compression:

Stored size: 325 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
  attribute :post_id

  belongs_to :post

  alias_method :template_post_guid, :post_id
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
active_remote-1.7.1 spec/support/models/category.rb
active_remote-1.7.0 spec/support/models/category.rb
active_remote-1.6.1 spec/support/models/category.rb
active_remote-1.6.0 spec/support/models/category.rb
active_remote-1.5.9 spec/support/models/category.rb
active_remote-1.5.8 spec/support/models/category.rb
active_remote-1.5.7 spec/support/models/category.rb
active_remote-1.5.6 spec/support/models/category.rb
active_remote-1.5.5 spec/support/models/category.rb
active_remote-1.5.4 spec/support/models/category.rb
active_remote-1.5.2 spec/support/models/category.rb
active_remote-1.5.1 spec/support/models/category.rb
active_remote-1.5.0 spec/support/models/category.rb
active_remote-1.4.1 spec/support/models/category.rb
active_remote-1.4.0 spec/support/models/category.rb
active_remote-1.3.3 spec/support/models/category.rb
active_remote-1.3.2 spec/support/models/category.rb
active_remote-1.3.1 spec/support/models/category.rb