Module: Webhookdb::Service::Types

Defined Under Namespace

Classes: CommaSepArray, NormalizedEmail, NormalizedPhone, TrimmedString

Class Method Summary collapse

Class Method Details

.included(ctx) ⇒ Object



6
7
8
9
10
11
# File 'lib/webhookdb/service/types.rb', line 6

def self.included(ctx)
  ctx.const_set(:NormalizedEmail, NormalizedEmail)
  ctx.const_set(:NormalizedPhone, NormalizedPhone)
  ctx.const_set(:CommaSepArray, CommaSepArray)
  ctx.const_set(:TrimmedString, TrimmedString)
end