Class: KakuyomuAgent::Action
- Inherits:
-
Object
- Object
- KakuyomuAgent::Action
- Extended by:
- Forwardable
- Includes:
- UrlHelper
- Defined in:
- lib/kakuyomu_agent/action.rb
Direct Known Subclasses
KakuyomuAgent::Actions::CreateEpisode, KakuyomuAgent::Actions::DeleteEpisode, KakuyomuAgent::Actions::Login, KakuyomuAgent::Actions::UpdateEpisode
Instance Method Summary collapse
-
#initialize(agent) ⇒ Action
constructor
A new instance of Action.
- #run ⇒ Object
Methods included from UrlHelper
extract_episode_id, extract_work_id
Constructor Details
#initialize(agent) ⇒ Action
Returns a new instance of Action.
8 9 10 |
# File 'lib/kakuyomu_agent/action.rb', line 8 def initialize(agent) @agent = agent end |
Instance Method Details
#run ⇒ Object
12 13 14 |
# File 'lib/kakuyomu_agent/action.rb', line 12 def run raise NotImplementedError end |