Sha256: b73d4746134d63119f4cadaaf8a031256eeda77ba4a51df7d010917117addb28

Contents?: true

Size: 475 Bytes

Versions: 10

Compression:

Stored size: 475 Bytes

Contents

module MeducationSDK

  class NewsFeedItem < Resource
    self.path = "/news_feed_items"
  end

  class NewsFeedItemMock < NewsFeedItem
    extend Loquor::ResourceMock

    self.attributes = {
      id: 100,
      news_type: "some-news",
      user_name: "Jeremy Walker",
      about_item_id: 8,
      about_item_type: "MediaFile",
      item_title: "The item title",
      image_url: "some_image.jpg",
      icon: "some_icon",
      created_at: "2013-04-20"
    }
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
meducation_sdk-2.2.2 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.2.1 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.2.0 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.1.4 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.1.3 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.1.2 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.1.1 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.1.0 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.0.5 lib/meducation_sdk/resources/news_feed_item.rb
meducation_sdk-2.0.4 lib/meducation_sdk/resources/news_feed_item.rb