Module: DeviantArt::Client::Feed
- Included in:
- DeviantArt::Client
- Defined in:
- lib/deviantart/client/feed.rb
Instance Method Summary collapse
-
#feed_home(mature_content: false, cursor: nil) ⇒ Object
Fetch Watch Feed.
-
#feed_profile(cursor: nil) ⇒ Object
Fetch Profile Feed.
Instance Method Details
#feed_home(mature_content: false, cursor: nil) ⇒ Object
Fetch Watch Feed
9 10 11 12 13 14 |
# File 'lib/deviantart/client/feed.rb', line 9 def feed_home(mature_content: false, cursor: nil) params = {} params['cursor'] = cursor unless cursor.nil? params['mature_content'] = mature_content perform(DeviantArt::Feed::Home, :get, '/api/v1/oauth2/feed/home', params) end |
#feed_profile(cursor: nil) ⇒ Object
Fetch Profile Feed
17 18 19 20 21 |
# File 'lib/deviantart/client/feed.rb', line 17 def feed_profile(cursor: nil) params = {} params['cursor'] = cursor unless cursor.nil? perform(DeviantArt::Feed::Profile, :get, '/api/v1/oauth2/feed/profile', params) end |