app/models/stake_currency.rb
# Format data to a format which goes into cache
#
# * Author: Santhosh
# * Date: 11/04/2019
# * Reviewed By:
#
# @return [Hash]
#
Format data to a format which goes into cache
Author: Santhosh
Date: 11/04/2019
Reviewed By.
Format data to a format which goes into cache Author : Santhosh Date : 11 / 04 / 2019 Reviewed By .
def formatted_cache_data
    {
      id: id,
      name: name,
      symbol: symbol,
      decimal: decimal,
      contract_address: contract_address,
      constants: constants,
      status: status
    }
  end
def formatted_cache_data { id : id , name : name , symbol : symbol , decimal : decimal , contract_address : contract_address , constants : constants , status : status } end
Format data to a format which goes into cache
 Author: Santhosh
 Date: 11/04/2019
 Reviewed By:
Format data to a format which goes into cache Author : Santhosh Date : 11 / 04 / 2019 Reviewed By :
None
Hash