Sha256: c5117260cdfb6d05b76537700466ebaf3b7aa46ac7c80b2c0567aaabddd1957d

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

module Account
  class FilterForm < ApplicationForm
    attribute :start_date, String
    attribute :end_date,   String

    protected

    def submit_params(params); end

    def valid_letter_types?
      # errors.add(:country_code, :invalid) if ISO3166::Country.find_country_by_alpha3(country_code).nil?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/forms/account/filter_form.rb