Module: Shikimori::API::V2::EpisodeNotifications
- Included in:
- Shikimori::API::V2
- Defined in:
- lib/shikimori/api/v2/episode_notifications.rb
Overview
Methods for the Episode notifications API
Instance Method Summary collapse
-
#create_episode_notification(episode_notification, token:, headers: nil, **query) ⇒ Hash
Notify shikimori about anime episode release.
Instance Method Details
#create_episode_notification(episode_notification, token:, headers: nil, **query) ⇒ Hash
Notify shikimori about anime episode release
46 47 48 49 50 |
# File 'lib/shikimori/api/v2/episode_notifications.rb', line 46 def create_episode_notification(episode_notification, token:, headers: nil, **query) rest.post base_url.join('episode_notifications').url, { episode_notification: episode_notification, token: token }, headers: headers, query: query end |