Sha256: 1d2c152f43df8eb2c8c49f2b85e3bcc99a3d60bbb20274e7ccd6aa89e59f1e65
Contents?: true
Size: 832 Bytes
Versions: 92
Compression:
Stored size: 832 Bytes
Contents
module ForestLiana class StripeBankAccountSerializer include JSONAPI::Serializer attribute :account attribute :account_holder_name attribute :account_holder_type attribute :bank_name attribute :country attribute :currency attribute :default_for_currency attribute :fingerprint attribute :last4 attribute :rooting_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
92 entries across 92 versions & 1 rubygems