Sha256: 76ef31510e32372d3da2663f2be9f763b3fb580c18850a77705744ddad9d4ae3
Contents?: true
Size: 646 Bytes
Versions: 39
Compression:
Stored size: 646 Bytes
Contents
module ForestLiana class StripePaymentSerializer include JSONAPI::Serializer attribute :description attribute :refunded attribute :currency attribute :status attribute :amount attribute :created has_one :customer def self_link "/forest#{super}" end def type 'stripe-payments' end def format_name(attribute_name) attribute_name.to_s end def unformat_name(attribute_name) attribute_name.to_s.underscore end def relationship_self_link(attribute_name) nil end def relationship_related_link(attribute_name) nil end end end
Version data entries
39 entries across 39 versions & 1 rubygems