Class: Workarea::Storefront::CreditCardViewModel
- Inherits:
-
ApplicationViewModel
- Object
- ApplicationViewModel
- Workarea::Storefront::CreditCardViewModel
- Defined in:
- app/view_models/workarea/storefront/credit_card_view_model.rb
Instance Method Summary collapse
Instance Method Details
#selected? ⇒ Boolean
3 4 5 |
# File 'app/view_models/workarea/storefront/credit_card_view_model.rb', line 3 def selected? model.id.to_s == [:selected].to_s end |