Class: KakuyomuAgent::Action

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Includes:
UrlHelper
Defined in:
lib/kakuyomu_agent/action.rb

Instance Method Summary collapse

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

#runObject

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/kakuyomu_agent/action.rb', line 12

def run
  raise NotImplementedError
end