Module: Feedlr::Gateway::Feeds

Included in:
Client
Defined in:
lib/feedlr/gateway/feeds.rb

Overview

Feeds API

Instance Method Summary collapse

Instance Method Details

#feed(feed_id) ⇒ Feedlr::Base

Get the metadata about a specific feed



12
13
14
# File 'lib/feedlr/gateway/feeds.rb', line 12

def feed(feed_id)
  feeds([feed_id]).first
end

#feeds(feeds_ids) ⇒ Feedlr::Collection

Get the metadata for a list of feeds

Parameters:

  • feeds_ids (Array)

    list of ids

Returns:

See Also:



21
22
23
# File 'lib/feedlr/gateway/feeds.rb', line 21

def feeds(feeds_ids)
  build_object(:post , '/feeds/.mget' , feeds_ids)
end