Class: Conversocial::Resources::Models::Content

Inherits:
Base
  • Object
show all
Defined in:
lib/conversocial/resources/models/content.rb

Instance Attribute Summary

Attributes inherited from Base

#contents, #loaded_attributes

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#assign_attributes, #attributes, #fields, #initialize, #inspect

Methods included from Utils::Strings

#demodulize

Constructor Details

This class inherits a constructor from Conversocial::Resources::Models::Base

Class Method Details

.fieldsObject



5
6
7
# File 'lib/conversocial/resources/models/content.rb', line 5

def self.fields
  %w{attachments parent author is_priority text tags sentiment channels platform platform_id link created_date type id is_private is_by_source}
end

Instance Method Details

#refreshObject



10
11
12
# File 'lib/conversocial/resources/models/content.rb', line 10

def refresh
  self
end