Sha256: 48d68507bc280064322c011900175dc3e4fb0cacf0f30bac35bf273ee4677cb1
Contents?: true
Size: 773 Bytes
Versions: 184
Compression:
Stored size: 773 Bytes
Contents
module ForestLiana class StripeBankAccountSerializer include JSONAPI::Serializer attribute :account_holder_name attribute :account_holder_type attribute :bank_name attribute :country attribute :currency attribute :fingerprint attribute :last4 attribute :routing_number attribute :status has_one :customer def self_link "/forest#{super}" end def type @options[:context][:type] || 'stripe_bank_accounts' 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
184 entries across 184 versions & 1 rubygems