caps_lock

code

Aug 22nd, 2015
159
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data