Exception: Entity::DontPersist

Inherits:
Exception
  • Object
show all
Defined in:
lib/rbbt/entity.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#payloadObject

Returns the value of attribute payload.



11
12
13
# File 'lib/rbbt/entity.rb', line 11

def payload
  @payload
end

Class Method Details

.initialize(payload) ⇒ Object



12
13
14
# File 'lib/rbbt/entity.rb', line 12

def self.initialize(payload)
  @payload = payload
end