Class: SocialDataProcessor
- Inherits:
-
Object
- Object
- SocialDataProcessor
- Defined in:
- lib/contentar/data_processors/social.rb
Instance Attribute Summary collapse
-
#json_data ⇒ Object
readonly
Returns the value of attribute json_data.
-
#stats ⇒ Object
readonly
Returns the value of attribute stats.
Instance Method Summary collapse
Instance Attribute Details
#json_data ⇒ Object (readonly)
Returns the value of attribute json_data.
2 3 4 |
# File 'lib/contentar/data_processors/social.rb', line 2 def json_data @json_data end |
#stats ⇒ Object (readonly)
Returns the value of attribute stats.
2 3 4 |
# File 'lib/contentar/data_processors/social.rb', line 2 def stats @stats end |
Instance Method Details
#data(json_data) ⇒ Object
4 5 6 7 8 |
# File 'lib/contentar/data_processors/social.rb', line 4 def data(json_data) @json_data = json_data @stats = get_stats process end |