Class: Troo::CommentPersistence

Inherits:
Object
  • Object
show all
Includes:
Persistence
Defined in:
lib/troo/models/comment_persistence.rb

Instance Method Summary collapse

Methods included from Persistence

included, #persist

Constructor Details

#initialize(resource, options = {}) ⇒ CommentPersistence

Returns a new instance of CommentPersistence.



5
6
7
8
# File 'lib/troo/models/comment_persistence.rb', line 5

def initialize(resource, options = {})
  @resource = resource
  @options = options
end