Class: Desertcart::Serializer

Inherits:
LedgerSync::Serializer
  • Object
show all
Defined in:
lib/desertcart/serializer.rb

Class Method Summary collapse

Class Method Details

.idObject



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

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