3 lines
301 B
Ruby
3 lines
301 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,:salutation, :gender,:nrc_no,:address,:card_no, :paypar_account_no
|
|
json.url crm_customer_url(crm_customer, format: :json)
|