Sha256: ced9d57ba2bedb7c6e36adabba41a104435c9a6131600cdca693c996c90f72be
Contents?: true
Size: 635 Bytes
Versions: 31
Compression:
Stored size: 635 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 end def relationship_self_link(attribute_name) nil end def relationship_related_link(attribute_name) nil end end end
Version data entries
31 entries across 31 versions & 1 rubygems