lib/livefyre/core.rb in livefyre-1.1.3 vs lib/livefyre/core.rb in livefyre-1.1.4

- old
+ new

@@ -61,12 +61,11 @@ def get_site(site_id, site_key) Site.new(@network_name, site_id, site_key) end class Site - TYPE = ['reviews', 'sidenotes'] - STREAM_TYPE = ['liveblog', 'livechat', 'livecomments'] + TYPE = ['reviews', 'sidenotes', 'ratings', 'counting', 'liveblog', 'livechat', 'livecomments'] def initialize(network_name, site_id, site_key) @network_name = network_name @site_id = site_id @site_key = site_key @@ -83,11 +82,9 @@ articleId: article_id } if type if TYPE.include? type collection_meta[:type] = type - elsif STREAM_TYPE.include? type - collection_meta[:stream_type] = type else raise ArgumentError, 'type is not a recognized type. should be liveblog, livechat, livecomments, reviews, sidenotes, or an empty string' end end \ No newline at end of file