Module: Ubiquitously::Loggable::Post::InstanceMethods

Defined in:
lib/ubiquitously/models/service/post/loggable.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



58
59
60
# File 'lib/ubiquitously/models/service/post/loggable.rb', line 58

def inspect
  "#<#{self.class.inspect} @url=#{self.url.inspect} @title=#{self.title.inspect} @tags=#{self.tags.inspect} @categories=#{self.categories.inspect}>"
end

#loggerObject



54
55
56
# File 'lib/ubiquitously/models/service/post/loggable.rb', line 54

def logger
  self.class.logger
end

#serviceObject



50
51
52
# File 'lib/ubiquitously/models/service/post/loggable.rb', line 50

def service
  self.class.service
end