Class: Desertcart::Serializer
- Inherits:
-
LedgerSync::Serializer
- Object
- LedgerSync::Serializer
- Desertcart::Serializer
- Defined in:
- lib/desertcart/serializer.rb
Direct Known Subclasses
AuthenticationToken::Serializer, Marketplace::Authorization::Serializer, Marketplace::Movement::Serializer, Marketplace::OrderItem::Serializer, Marketplace::OrderItemAcceptance::Serializer, Marketplace::OrderItemRejection::Serializer, Marketplace::Registration::Serializer, Marketplace::Store::Serializer, Desertcart::Session::Serializer, User::Serializer
Class Method Summary collapse
Class Method Details
.id ⇒ Object
5 6 7 |
# File 'lib/desertcart/serializer.rb', line 5 def self.id attribute('id', resource_attribute: :ledger_id) end |