Class: ScheduleC2

Inherits:
FECForm show all
Defined in:
lib/fechell/forms.rb

Instance Attribute Summary

Attributes inherited from FECForm

#schedule, #values, #version

Instance Method Summary collapse

Methods inherited from FECForm

#as_activerecord, #as_hash, available_schedules, #field, #method_missing, #ordered_keys, #parse, register, schedule_for

Constructor Details

#initialize(schedule, version) ⇒ ScheduleC2

Returns a new instance of ScheduleC2.



881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
# File 'lib/fechell/forms.rb', line 881

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(: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(:guarantor_last_name, ["7.0","6.4","6.3", "6.2", "6.1"], "GUARANTOR LAST NAME")
	field(:guarantor_last_name, ["5.3", "5.2", "5.1", "5.00", "3.00"], "IND/NAME (Endorser/Guarantor)")

	field(:guarantor_first_name, ["7.0","6.4","6.3", "6.2", "6.1"], "GUARANTOR FIRST NAME")
	field(:guarantor_first_name, ["5.3", "5.2", "5.1", "5.00", "3.00"], "IND/NAME (Endorser/Guarantor)")

	field(:guarantor_middle_name, ["7.0","6.4","6.3", "6.2", "6.1"], "GUARANTOR MIDDLE NAME")
	field(:guarantor_middle_name, ["5.3", "5.2", "5.1", "5.00", "3.00"], "IND/NAME (Endorser/Guarantor)")

	field(:guarantor_prefix, ["7.0","6.4","6.3", "6.2", "6.1"], "GUARANTOR PREFIX")
	field(:guarantor_prefix, ["5.3", "5.2", "5.1", "5.00", "3.00"], "IND/NAME (Endorser/Guarantor)")

	field(:guarantor_suffix, ["7.0","6.4","6.3", "6.2", "6.1"], "GUARANTOR SUFFIX")
	field(:guarantor_suffix, ["5.3", "5.2", "5.1", "5.00", "3.00"], "IND/NAME (Endorser/Guarantor)")

	field(:guarantor_street_1, ["7.0","6.4","6.3", "6.2", "6.1"], "LENDER STREET 1")
	field(:guarantor_street_1, ["5.3", "5.2", "5.1", "5.00", "3.00"], "STREET 1")

	field(:guarantor_street_2, ["7.0","6.4","6.3", "6.2", "6.1"], "LENDER STREET 2")
	field(:guarantor_street_2, ["5.3", "5.2", "5.1", "5.00", "3.00"], "STREET 2")

	field(:guarantor_city, ["7.0","6.4","6.3", "6.2", "6.1"], "LENDER CITY")
	field(:guarantor_city, ["5.3", "5.2", "5.1", "5.00", "3.00"], "CITY")

	field(:guarantor_state, ["7.0","6.4","6.3", "6.2", "6.1"], "LENDER STATE")
	field(:guarantor_state, ["5.3", "5.2", "5.1", "5.00", "3.00"], "STATE")

	field(:guarantor_zip, ["7.0","6.4","6.3", "6.2", "6.1"], "LENDER ZIP")
	field(:guarantor_zip, ["5.3", "5.2", "5.1", "5.00", "3.00"], "ZIP")

	field(:guarantor_employer, ["7.0","6.4","6.3", "6.2", "6.1"], "GUARANTOR EMPLOYER")
	field(:guarantor_employer, ["5.3", "5.2", "5.1", "5.00", "3.00"], "INDEMP")

	field(:guarantor_occupation, ["7.0","6.4","6.3", "6.2", "6.1"], "GUARANTOR EMPLOYER")
	field(:guarantor_occupation, ["5.3", "5.2", "5.1", "5.00", "3.00"], "INDOCC")

	field(:guaranteed_amount, ["7.0","6.4","6.3", "6.2", "6.1"], "GUARANTEED AMOUNT")
	field(:guaranteed_amount, ["5.3", "5.2", "5.1", "5.00", "3.00"], "AMOUNT GUARANTEED BALANCE")
	
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class FECForm