afc_salesforce 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/afc_salesforce/account.rb +4 -2
- data/lib/afc_salesforce/models/account.rb +2 -1
- data/lib/afc_salesforce/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b7f94001bc41bacc56fa96dee6628c6c8dae012
|
4
|
+
data.tar.gz: 8b666cf79d9519244d4d593815fbd4aa56535145
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c1b279c1de0ed47acb74609989d1743d9cb5a812b644e3174f6f5f218a9535636b7a89a452650295151d4bb6f64a7c70a144fdfbcfeb90db42704a8abc900ab
|
7
|
+
data.tar.gz: fa7f0a87f09579b22e372d4e4f34bcc07f1de1bf4a9f94fe64be64cbe7216560f08a1d62df429563fc3bf03d85af16158bd053ed8169219efc869e6a2e6b5f0c
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module AFCSalesforce
|
2
2
|
class Account < Base
|
3
|
-
attr_accessor :phone, :email, :street, :zip, :state, :city, :loan_type, :purchase_date,
|
3
|
+
attr_accessor :phone, :email, :street, :zip, :state, :city, :loan_type, :purchase_date, :condo_type,
|
4
4
|
:property_address, :property_city, :property_state, :property_zip, :property_type, :program_type, :last_appraisal__c,
|
5
5
|
:loan_purpose, :property_bedroom_count, :property_acre_count, :property_bathroom_count, :property_price, :property_close_date, :is_escrowed,
|
6
6
|
:property_down_payment, :realtor_email, :realtor_name, :realtor_phone, :source, :endorser, :realtor_sign_up_date,
|
@@ -8,7 +8,7 @@ module AFCSalesforce
|
|
8
8
|
:appraised_value, :square_feet, :first_mortgage_payment, :first_mortgage_balance, :first_mortgage_interest_rate,
|
9
9
|
:monthly_taxes, :monthly_insurance, :name, :hoa_dues, :is_va_eligible, :purchase_close_date, :second_mortgage, :second_mortgage_payment,
|
10
10
|
:second_mortgage_date_opened, :second_mortgage_balance, :x2nd_mortgage_date_opened__c, :second_mortgage_rate, :refinance_reason,
|
11
|
-
:number_of_units, :session_uuid
|
11
|
+
:number_of_units, :session_uuid, :working_with_realtor
|
12
12
|
|
13
13
|
def to_h
|
14
14
|
AFCSalesforce::Models::Account.new(
|
@@ -20,6 +20,7 @@ module AFCSalesforce
|
|
20
20
|
billingpostalcode: @zip,
|
21
21
|
billingstate: @state,
|
22
22
|
billingstreet: @street,
|
23
|
+
condo_type: @condo_type,
|
23
24
|
down_payment__c: @property_down_payment,
|
24
25
|
endorser__c: @endorser,
|
25
26
|
escrowed__c: @is_escrowed,
|
@@ -48,6 +49,7 @@ module AFCSalesforce
|
|
48
49
|
square_feet__c: @square_feet,
|
49
50
|
type__c: @loan_type,
|
50
51
|
va_eligible__c: @is_va_eligible,
|
52
|
+
working_with_realtor__c: @working_with_realtor,
|
51
53
|
x1st_mortgage_balance__c: @first_mortgage_balance,
|
52
54
|
x1st_mortgage_payment__c: @first_mortgage_payment,
|
53
55
|
x1st_mortgage_rate__c: @first_mortgage_interest_rate,
|
@@ -3,7 +3,7 @@ module AFCSalesforce
|
|
3
3
|
class Account < AFCSalesforce::Models::Base
|
4
4
|
|
5
5
|
attr_accessor :account_number, :account_source, :annual_revenue, :billingstreet, :billingcity, :billingstate, :billingpostalcode,
|
6
|
-
:created_by, :description, :fax, :industry, :is_customer_portal, :jigsaw, :last_modified_by, :name,
|
6
|
+
:condo_type__c, :created_by, :description, :fax, :industry, :is_customer_portal, :jigsaw, :last_modified_by, :name,
|
7
7
|
:numberofemployees, :owner, :ownership, :parent, :phone, :rating, :shipping_address,
|
8
8
|
:sic, :sic_description, :site, :ticker_symbol, :type, :website, :x1_referral_date__c,
|
9
9
|
:x1_referral_name__c, :x1_referral_phone__c, :x1st_mortgage_balance__c, :x1st_mortgage_payment__c,
|
@@ -98,6 +98,7 @@ module AFCSalesforce
|
|
98
98
|
:"CND_Date_Stamp__c" => @cnd_date_stamp__c,
|
99
99
|
:"CNDForCredit__c" => @cndforcredit__c,
|
100
100
|
:"Commission_to_Broker__c" => @commission_to_broker__c,
|
101
|
+
:"Condo_Type__c" => @condo_type__c,
|
101
102
|
:"Contract_to_Close__c" => @contract_to_close__c,
|
102
103
|
:"CreatedBy" => @created_by,
|
103
104
|
:"Credit_Agent__c" => @credit_agent__c,
|