lib/braintree/credit_card.rb in braintree-2.102.0 vs lib/braintree/credit_card.rb in braintree-2.103.0

- old
+ new

@@ -237,18 +237,22 @@ # Returns true if the card is associated with Venmo SDK def venmo_sdk? @venmo_sdk end + def is_network_tokenized? + @is_network_tokenized + end + class << self protected :new end def self._attributes # :nodoc: [ :billing_address, :bin, :card_type, :cardholder_name, :created_at, :customer_id, :expiration_month, :expiration_year, :last_4, :token, :updated_at, :prepaid, :payroll, :product_id, :commercial, :debit, :durbin_regulated, - :healthcare, :country_of_issuance, :issuing_bank, :image_url + :healthcare, :country_of_issuance, :issuing_bank, :image_url, :is_network_tokenized? ] end def self._new(*args) # :nodoc: self.new *args