Module: Proposal::InstanceMethods
- Defined in:
- lib/act_as_releasable/models.rb
Instance Method Summary collapse
Instance Method Details
#candidate_attributes ⇒ Object
13 14 15 |
# File 'lib/act_as_releasable/models.rb', line 13 def candidate_attributes Marshal.load(Base64.decode64(candidate_data)) end |
#candidate_attributes=(candidate_attributes) ⇒ Object
16 17 18 |
# File 'lib/act_as_releasable/models.rb', line 16 def candidate_attributes=(candidate_attributes) self.candidate_data = Base64.encode64(Marshal.dump(candidate_attributes)) end |