Class: Waylon::Routes::Default

Inherits:
Waylon::Route show all
Defined in:
lib/waylon/routes/default.rb

Overview

The default route for unrouted messages

Instance Attribute Summary

Attributes inherited from Waylon::Route

#condition, #destination, #name, #priority

Instance Method Summary collapse

Constructor Details

#initialize(name: "default_route", destination: Skills::Default, condition: Conditions::Default.new, priority: 0) ⇒ Default

Returns a new instance of Default.



7
8
9
10
11
12
13
14
# File 'lib/waylon/routes/default.rb', line 7

def initialize(
  name: "default_route",
  destination: Skills::Default,
  condition: Conditions::Default.new,
  priority: 0
)
  super
end