module Outpost::Aggregator::SimpleJson

Public Instance Methods

simple_json() click to toggle source
# File lib/outpost/aggregator/simple_json.rb, line 4
def simple_json
  @simple_json ||= {
    "id"          => self.content.try(:obj_key),
    "position"    => self.position.to_i
  }
end