Class: Post

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Synchroniser::Model
Defined in:
lib/post.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Synchroniser::Model

#after_save, #before_validation, #delete_expired_items, #group, #group=, #verify

Instance Attribute Details

#test_defaultObject

Returns the value of attribute test_default.



4
5
6
# File 'lib/post.rb', line 4

def test_default
  @test_default
end

Instance Method Details

#itemObject



6
7
8
# File 'lib/post.rb', line 6

def item
  url
end