Skip to content

Commit

Permalink
Adds missing _attributes method for BinData class
Browse files Browse the repository at this point in the history
  • Loading branch information
kinduff authored and Holly Stotelmyer committed Nov 9, 2020
1 parent 5f1feac commit 89df7df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/braintree/bin_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,12 @@ def inspect
end
"#<BinData #{formatted_attrs.join(", ")}>"
end

def self._attributes # :nodoc:
[
:commercial, :country_of_issuance, :debit, :durbin_regulated, :healthcare,
:issuing_bank, :payroll, :prepaid, :product_id
]
end
end
end

0 comments on commit 89df7df

Please sign in to comment.