e1a07fadd9
since I'd like to make the JRuby rabbitmq stuff a bit less boilerplate.
16 lines
230 B
Ruby
16 lines
230 B
Ruby
require_relative 'metaid'
|
|
|
|
class MailTruck
|
|
attr_accessor :driver, :route
|
|
|
|
def initialize(driver, route)
|
|
@driver, @route = driver, route
|
|
end
|
|
|
|
def self.company(name)
|
|
meta_def :company do
|
|
name
|
|
end
|
|
end
|
|
end
|