5 lines
380 B
Ruby
5 lines
380 B
Ruby
json.extract! @crm_customer, :id, :name, :company, :contact_no, :email, :date_of_birth,
|
|
:membership_id, :membership_type, :membership_authentication_code,
|
|
:salutation, :gender,:nrc_no,:address,:card_no, :paypar_account_no, :customer_type, :image_path, :tax_profiles
|
|
json.url crm_customer_url(@crm_customer, format: :json)
|