module WS_Service::ClassMethods

Overview

Kludge to allow us to declare an abstract class method. Every derived class of WS_Service must declare the path string used to connect to it. This has to be in a module, as Crystal won't allow an abstract class method to be directly declared as abstract def self.path. It does allow it to be declared in a module and then used to extend a class.

Defined in:

ws_service.cr

Instance Method Summary

Instance Method Detail

abstract def path : String #

[View source]