Module: Async::App::WebComponent::InstanceMethods

Defined in:
lib/async/app/web_component.rb

Instance Method Summary collapse

Instance Method Details

#callObject

Raises:

  • (NotImplementedError)


13
# File 'lib/async/app/web_component.rb', line 13

def call(*) = raise NotImplementedError

#can_handle?(request) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


12
# File 'lib/async/app/web_component.rb', line 12

def can_handle?(request) = raise NotImplementedError

#run!Object



10
# File 'lib/async/app/web_component.rb', line 10

def run! = bus.publish(Async::App::WebServer::APP_ADDED, self)