Sha256: 71f80c97528ef97e96560ff0fab4db039ce75052ee03dc4b2378bfea407d99ba

Contents?: true

Size: 394 Bytes

Versions: 10

Compression:

Stored size: 394 Bytes

Contents

require 'support/protobuf/tag.pb'

##
# Define a generic class that inherits from active remote base
#
class Tag < ::ActiveRemote::Base
  service_class ::Generic::Remote::TagService

  attribute :guid
  attribute :name
  attribute :updated_at

  after_update :after_update_callback
  after_create :after_create_callback

  def after_create_callback
  end

  def after_update_callback
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
active_remote-2.0.2 spec/support/models/tag.rb
active_remote-2.0.1 spec/support/models/tag.rb
active_remote-2.0.0 spec/support/models/tag.rb
active_remote-2.0.0.rc2 spec/support/models/tag.rb
active_remote-2.0.0.rc1 spec/support/models/tag.rb
active_remote-1.8.1 spec/support/models/tag.rb
active_remote-1.8.0 spec/support/models/tag.rb
active_remote-1.8.0.rc1 spec/support/models/tag.rb
active_remote-1.7.1 spec/support/models/tag.rb
active_remote-1.7.0 spec/support/models/tag.rb