class AFCSalesforce::Models::Income

Attributes

amount__c[RW]
borrower__c[RW]
createdby[RW]
description__c[RW]
is_self_employed__c[RW]
lastmodifiedby[RW]
name[RW]
otherincomeid__c[RW]
owner[RW]
type__c[RW]

Public Instance Methods

to_h() click to toggle source
# File lib/afc_salesforce/models/income.rb, line 9
def to_h
  {
    :"CreatedBy"           => @createdby,
    :"LastModifiedBy"      => @lastmodifiedby,
    :"Name"                => @name,
    :"Owner"               => @owner,
    :"Amount__c"           => @amount__c,
    :"Borrower__c"         => @borrower__c,
    :"Description__c"      => @description__c,
    :"Is_Self_Employed__c" => @is_self_employed__c,
    :"OtherIncomeID__c"    => @otherincomeid__c,
    :"Type__c"             => @type__c
  }.select{ |k,v| !v.nil? }
end