Sha256: e66f9d8345dca24c85fb9ddd655330c84a8e0d16b57a44c7f43df7303e3b9542
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
# frozen_string_literal: true require_relative 'fb_api' require_relative 'posting' module FaceGroup # Group feeds, with data and paging information class Feed attr_reader :postings def initialize(postings_data:, paging_data:) @postings = postings_data.map do |post_data| FaceGroup::Posting.new(data: post_data) end @paging = paging_data end def count @postings.count end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facegroup-0.1.0 | lib/facegroup/feed.rb |