Module: Protoplasm::Types

Defined in:
lib/protoplasm/types/types.rb

Defined Under Namespace

Modules: ClassMethods Classes: RequestResponseType

Class Method Summary collapse

Class Method Details

.included(cls) ⇒ Object

the truest thing i know … the enum pattern matches to a response class therefore, you need to know the following where is the request class where is the field class how does the field map to response classes



11
12
13
# File 'lib/protoplasm/types/types.rb', line 11

def self.included(cls)
  cls.extend(ClassMethods)
end