Module: Ccp::Commands::Receivable

Included in:
Core
Defined in:
lib/ccp/commands/receivable.rb

Instance Method Summary collapse

Instance Method Details

#receiverObject

Receiver Methods



7
8
9
# File 'lib/ccp/commands/receivable.rb', line 7

def receiver
  (@receiver ||= Ccp::Receivers::Base.new).must(Receivers::Base)
end

#receiver=(value) ⇒ Object



11
12
13
14
# File 'lib/ccp/commands/receivable.rb', line 11

def receiver=(value)
  return unless value
  @receiver = value.must(Ccp::Receivers::Base)
end