Sha256: f1311820e07a853ba505ab2babd847f84926cdd02b46d7ee760aef7a18be4473
Contents?: true
Size: 842 Bytes
Versions: 31
Compression:
Stored size: 842 Bytes
Contents
module ForestLiana class StripeCardSerializer include JSONAPI::Serializer attribute :last4 attribute :brand attribute :funding attribute :exp_month attribute :exp_year attribute :country attribute :name attribute :address_line1 attribute :address_line2 attribute :address_city attribute :address_state attribute :address_zip attribute :address_country attribute :cvc_check has_one :customer def self_link "/forest#{super}" end def type 'stripe_cards' 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