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