Class: Desertcart::Deserializer

Inherits:
LedgerSync::Deserializer
  • Object
show all
Defined in:
lib/desertcart/deserializer.rb

Class Method Summary collapse

Class Method Details

.idObject



5
6
7
# File 'lib/desertcart/deserializer.rb', line 5

def self.id
  attribute(:ledger_id, hash_attribute: 'id')
end