Sha256: 0aaa20acaf9a0beb728f51383e00186045024e87119bec0cf054c3fc124d48c2

Contents?: true

Size: 455 Bytes

Versions: 12

Compression:

Stored size: 455 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, :string
  attribute :name, :string
  attribute :updated_at, :datetime
  attribute :user_guid, :string

  after_update :after_update_callback
  after_create :after_create_callback

  def after_create_callback
  end

  def after_update_callback
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
active_remote-7.1.0 spec/support/models/tag.rb
active_remote-6.0.3 spec/support/models/tag.rb
active_remote-6.1.2 spec/support/models/tag.rb
active_remote-7.0.0 spec/support/models/tag.rb
active_remote-6.1.1 spec/support/models/tag.rb
active_remote-6.1.0 spec/support/models/tag.rb
active_remote-6.0.2 spec/support/models/tag.rb
active_remote-6.0.1 spec/support/models/tag.rb
active_remote-6.0.0.beta spec/support/models/tag.rb
active_remote-5.2.0 spec/support/models/tag.rb
active_remote-5.2.0.beta spec/support/models/tag.rb
active_remote-5.2.0.alpha spec/support/models/tag.rb