module EyeEmConnector::Client::News
Public Instance Methods
mark_news_read(news_items)
click to toggle source
POST
# File lib/EyeEmConnector/models/news.rb, line 27 def mark_news_read(news_items) #news_items: ids as string, comma separated response = post('news',{:mark_as_read => news_items},true) end
mark_single_news_read(id,options={})
click to toggle source
PUT
# File lib/EyeEmConnector/models/news.rb, line 21 def mark_single_news_read(id,options={}) response = put("news/#{id}",options,true) end
news(options={})
click to toggle source
GET
# File lib/EyeEmConnector/models/news.rb, line 9 def news(options={}) #access token required response = get('news',options) response.body end
single_news(id,options={})
click to toggle source
# File lib/EyeEmConnector/models/news.rb, line 14 def single_news(id,options={}) #access token required response = get("news/#{id}",options) response.body end