Sha256: 84d7b1241b0bd35dace3c1a7afb88514c9b941cc386d2e70aea06a95ada0b0ca
Contents?: true
Size: 870 Bytes
Versions: 39
Compression:
Stored size: 870 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.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