6 lines
369 B
Ruby
6 lines
369 B
Ruby
json.extract! @crm_customer, :id, :name, :company, :contact_no, :email, :date_of_birth,
|
|
:membership_id, :membership_type, :membership_authentication_code,
|
|
:created_at, :updated_at,
|
|
:salution, :gender,:nrc_no,:address,:card_no
|
|
json.url crm_customer_url(@crm_customer, format: :json)
|