Class: ScheduleD
Instance Attribute Summary
Attributes inherited from FECForm
Instance Method Summary collapse
-
#initialize(schedule, version) ⇒ ScheduleD
constructor
A new instance of ScheduleD.
Methods inherited from FECForm
#as_activerecord, #as_hash, available_schedules, #field, #method_missing, #ordered_keys, #parse, register, schedule_for
Constructor Details
#initialize(schedule, version) ⇒ ScheduleD
936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 |
# File 'lib/fechell/forms.rb', line 936 def initialize(schedule, version) super(schedule, version) field(:committee_fecid, ["7.0","6.4","6.3", "6.2", "6.1"], "FILER COMMITTEE ID NUMBER") field(:committee_fecid, ["5.3", "5.2", "5.1", "5.00", "3.00"], "FILER FEC CMTE ID") field(:transaction_id, ["7.0","6.4","6.3", "6.2", "6.1"], "TRANSACTION ID NUMBER") field(:transaction_id, ["5.3", "5.2", "5.1", "5.00", "3.00"], "TRAN ID") field(:back_reference_transaction_id, ["7.0","6.4","6.3", "6.2", "6.1"], "BACK REFERENCE TRAN ID NUMBER") field(:back_reference_transaction_id, ["5.3", "5.2", "5.1", "5.00", "3.00"], "BACK REF TRAN ID") field(:entity_type, ["7.0","6.4","6.3", "6.2", "6.1","5.3", "5.2", "5.1", "5.00", "3.00"], "ENTITY TYPE") field(:creditor_organization_name, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR ORGANIZATION NAME") field(:creditor_organization_name, ["5.3", "5.2", "5.1", "5.00", "3.00"], "NAME (Debtor/Creditor)") field(:creditor_last_name, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR LAST NAME") field(:creditor_last_name, ["5.3", "5.2", "5.1", "5.00", "3.00"], "NAME (Debtor/Creditor)") field(:creditor_first_name, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR FIRST NAME") field(:creditor_first_name, ["5.3", "5.2", "5.1", "5.00", "3.00"], "NAME (Debtor/Creditor)") field(:creditor_middle_name, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR MIDDLE NAME") field(:creditor_middle_name, ["5.3", "5.2", "5.1", "5.00", "3.00"], "NAME (Debtor/Creditor)") field(:creditor_prefix, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR PREFIX") field(:creditor_prefix, ["5.3", "5.2", "5.1", "5.00", "3.00"], "NAME (Debtor/Creditor)") field(:creditor_suffix, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR SUFFIX") field(:creditor_suffix, ["5.3", "5.2", "5.1", "5.00", "3.00"], "NAME (Debtor/Creditor)") field(:creditor_street_1, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR STREET 1") field(:creditor_street_1, ["5.3", "5.2", "5.1", "5.00", "3.00"], "STREET 1") field(:creditor_street_2, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR STREET 2") field(:creditor_street_2, ["5.3", "5.2", "5.1", "5.00", "3.00"], "STREET 2") field(:creditor_city, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR CITY") field(:creditor_city, ["5.3", "5.2", "5.1", "5.00", "3.00"], "CITY") field(:creditor_state, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR STATE") field(:creditor_state, ["5.3", "5.2", "5.1", "5.00", "3.00"], "STATE") field(:creditor_zip, ["7.0","6.4","6.3", "6.2", "6.1"], "CREDITOR ZIP") field(:creditor_zip, ["5.3", "5.2", "5.1", "5.00", "3.00"], "ZIP") field(:purpose_of_debt, ["7.0","6.4","6.3", "6.2", "6.1"], "PURPOSE OF DEBT OR OBLIGATION") field(:purpose_of_debt, ["5.3", "5.2", "5.1", "5.00", "3.00"], "NATURE/PURPOSE DEBT DESCRIPTION") field(:beginning_balance_this_period, ["7.0","6.4","6.3", "6.2", "6.1"], "BEGINNING BALANCE (This Period)") field(:beginning_balance_this_period, ["5.3", "5.2", "5.1", "5.00", "3.00"], "BEGINNING BALANCE") field(:incurred_amount_this_period, ["7.0","6.4","6.3", "6.2", "6.1"], "INCURRED AMOUNT (This Period)") field(:incurred_amount_this_period, ["5.3", "5.2", "5.1", "5.00", "3.00"], "INCURRED THIS PERIOD") field(:payment_amount_this_period, ["7.0","6.4","6.3", "6.2", "6.1"], "PAYMENT AMOUNT (This Period)") field(:payment_amount_this_period, ["5.3", "5.2", "5.1", "5.00", "3.00"], "PAYMENT THIS PERIOD") field(:close_balance_this_period, ["7.0","6.4","6.3", "6.2", "6.1"], "BALANCE AT CLOSE (This Period)") field(:close_balance_this_period, ["5.3", "5.2", "5.1", "5.00", "3.00"], "BALANCE AT CLOSE") end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FECForm