Module: Ccp::Receivers::Variables

Included in:
Base
Defined in:
lib/ccp/receivers/variables.rb

Instance Method Summary collapse

Instance Method Details

#dataObject



8
9
10
# File 'lib/ccp/receivers/variables.rb', line 8

def data
  @data ||= Typed::Hash.new
end

#data?(key) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/ccp/receivers/variables.rb', line 12

def data?(key)
  data.set?(key)
end

#parse!(options) ⇒ Object



16
17
18
# File 'lib/ccp/receivers/variables.rb', line 16

def parse!(options)
  data.merge!(options)
end