Advertisement
caps_lock

code

Aug 22nd, 2015
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.27 KB | None | 0 0
  1.   def disabled_options
  2.     return ['%mb_reference%', '%mb_entity%', '%credit_card_link%'] if account.current_mb_provider.blank?
  3.     return ['%credit_card_link%'] if account.current_mb_provider.blank? or !account.current_mb_provider.provider.supports_credit_card?
  4.     []
  5.   end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement