Sha256: 552b39ac08cd50f55f36f6debcd7f2940a2b051a1b3dd2e330b47e183de41a02

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

module EmailBills
  module Recurring
    class Payment
      attr_reader :value, :date

      def initialize(value, date)
        @value = value
        @date = date
      end

      def value?
        !value.nil?
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
email_bills-0.1.1 lib/email_bills/recurring/payment.rb
email_bills-0.1.0 lib/email_bills/recurring/payment.rb