Sha256: 5c63c83b17b3674cef2485d1f2460b874122951d97868d5cb6aa772898eb2bbf

Contents?: true

Size: 213 Bytes

Versions: 1

Compression:

Stored size: 213 Bytes

Contents

module Shopper
  module CheckoutPage
    class CreditCardDecorator < SimpleDelegator
      def expiration_date
        __getobj__.expiration_date&.strftime(CreditCardForm::DATE_FORMAT)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoppper-0.1.0 app/decorators/shopper/checkout_page/credit_card_decorator.rb