Sha256: 23f1fd74450831d5b2467e5d2fd1f61e425c31d6d29f8b8419c852883765ea04
Contents?: true
Size: 859 Bytes
Versions: 31
Compression:
Stored size: 859 Bytes
Contents
module ForestLiana class StripeInvoiceSerializer include JSONAPI::Serializer attribute :amount_due attribute :attempt_count attribute :attempted attribute :closed attribute :currency attribute :date attribute :forgiven attribute :paid attribute :period_end attribute :period_start attribute :subtotal attribute :total attribute :application_fee attribute :tax attribute :tax_percent has_one :customer def self_link "/forest#{super}" end def type 'stripe_invoices' 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