json.extract! credit_card_bill, :id, :description, :amount, :created_at, :updated_at json.url credit_card_bill_url(credit_card_bill, format: :json)